A

Admin • 833K Points
Coach

Q. What will be the output of sizeof('A')?

  • (A) 1
  • (B) 2
  • (C) 4
  • (D) Depends on compiler
  • Correct Answer - Option(C)
  • Views: 14
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

'A' is an int literal in C, so sizeof('A') returns 4 bytes typically.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.