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

What is a rooted hierarchy?

0 Answers  


What is the function of I/O library in C++ ?

0 Answers   HCL,


What are arithmetic operators?

0 Answers  


Is c++ a software?

0 Answers  


Why use of template is better than a base class?

0 Answers  






Does c++ have a hash table?

0 Answers  


what are the characteristics of Class Members in C++?

0 Answers  


Why do we use iterators?

0 Answers  


what are prototypes

4 Answers   Infosys, TCS,


What is the difference between object-oriented programming and procedural programming?

0 Answers  


write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;

0 Answers  


What is cin clear () in c++?

0 Answers  


Categories