Which of the following is the truncation division operator?

Answer: c
Explanation: // is the operator for truncation division. It is called so because it returns only the integer part of the quotient, truncating the decimal part. For example: 20//3 = 6.
 

Tìm kiếm

Back
Top