Multiple choice technology programming languages

Is sizeof a keyword ?

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In C and C++, sizeof is an operator (compile-time), not a keyword in the same category as if, while, etc. It's a built-in operator that evaluates to the size of a data type. The question's phrasing makes a technical distinction between keywords and operators.