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

How can I disable the "echo" feature?

0 Answers  


What is the size of integer variable?

0 Answers  


What is the role of static keyword for a class member variable?

0 Answers  


What is a static member?

0 Answers  


How does com provide language transparency?

0 Answers  






What is c++ code?

0 Answers  


How are pointers type-cast?

0 Answers   iNautix,


Does c++ vector allocate memory?

0 Answers  


Write any small program that will compile in "C" but not in "C++"

10 Answers   Honeywell,


How can an improvement in the quality of software be done by try/catch/throw?

0 Answers  


Give example of a pure virtual function in c++?

0 Answers  


Show the declaration for a pointer to function returning long and taking an integer parameter.

0 Answers  


Categories