sizeof- is it functioning statically or dynamically?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the importance of mutable keyword?

576


What are keywords in c++?

592


I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.

601


How do I use turbo c++?

545


Why is c++ still best?

547






Why is c++ so fast?

524


What is setiosflags c++?

523


How the programmer of a class should decide whether to declare member function or a friend function?

678


Differentiate between declaration and definition.

579


What are the various oops concepts in c++?

588


What is c++ vb?

602


What is searching? Explain linear and binary search.

575


Is c++ proprietary?

573


Difference between overloaded functions and overridden functions

571


Do you know what are pure virtual functions?

636