A

Admin • 833K Points
Coach

Q. What is the output of: printf("%d", 10/3);

  • (A) 3
  • (B) 3.33
  • (C) 3.0
  • (D) Error
  • Correct Answer - Option(A)
  • Views: 19
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

Integer division truncates the result. 10/3 = 3.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.