McqMate
| Q. |
Which of the following is the truncation division operator? |
| A. | / |
| B. | % |
| C. | // |
| 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. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet