Q. What does the 'sizeof' operator in C++ return?

  • (A) The size of a variable in bytes
  • (B) The number of elements in an array
  • (C) The size of the stack
  • (D) The size of the data type
πŸ’¬ Discuss
βœ… Correct Answer: (A) The size of a variable in bytes
Explanation: The 'sizeof' operator in C++ returns the size of a variable or data type in bytes.
Explanation by: Shiva Ram
The 'sizeof' operator in C++ returns the size of a variable or data type in bytes.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
122
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Shiva Ram
Publisher
πŸ“ˆ
98%
Success Rate