A

Admin • 833K Points
Coach

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
  • Correct Answer - Option(A)
  • Views: 25
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

The 'sizeof' operator in C++ returns the size of a variable or data type in bytes.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.