sizeof- is it functioning statically or dynamically?

Answers were Sorted based on User's Feedback



sizeof- is it functioning statically or dynamically?..

Answer / sujay singh

sizeof is generally a compile-time operation, although in
C99 it can be used at run-time to find the size of a
variable length array.

Is This Answer Correct ?    8 Yes 0 No

sizeof- is it functioning statically or dynamically?..

Answer / saranya

sizeof operator is a runtime operator because it is used to
get the size of the variable during the runtime.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Difference between declaration and definition of a variable.

0 Answers  


Are php strings immutable?

0 Answers  


Mention the ways in which parameterized can be invoked.

0 Answers  


What is a container class?

0 Answers  


What is size of string in c++?

0 Answers  


Give a very good method to count the number of ones in a "n" (e.g. 32) bit number.

3 Answers  


What is the use of 'using' declaration in c++?

0 Answers  


How to construct virtual constructor

6 Answers   CIStems Software, Symphony,


How the V-Table mechanism works?

6 Answers   HP,


What are associate containers?

0 Answers  


Distinguish between new and malloc and delete and free().

0 Answers  


What is the difference between inline functions and macros?

5 Answers  


Categories