Programming MCQS - QUESTION DETAILS

What is the output of printf("%d", 10 % 3);?
A. 1
B. 2
C. 0
D. 3

'%' is the modulo operator, 10 % 3 results in 1.

Similar Questions

What is the purpose of the 'try-catch' block in Java?






Which function is used to read a character from the standard input in C?






What is the output of printf("%d", 5 + 3 * 2);?






What is the purpose of the 'break' statement in a loop in Java?






How do you define a function in C?






Which of the following is not a valid C data type?






How do you declare an array in Java?






How do you create a thread in Java?






What is the purpose of the 'typedef' keyword in C?






Which Java keyword is used to implement multiple interfaces in a class?