πŸ“Š C Programming
Q. What will be the output of sizeof('A')?
  • (A) 1
  • (B) 2
  • (C) 4
  • (D) Depends on compiler
πŸ’¬ Discuss
βœ… Correct Answer: (C) 4

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

Explanation by: Mr. Dubey
'A' is an int literal in C, so sizeof('A') returns 4 bytes typically.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
65
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate