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

which operator is used for performing an exponential operation a) > b) ^ c) none

0 Answers  


Why is c++ so fast?

0 Answers  


Explain selection sorting. Also write an example.

0 Answers  


What is ifstream c++?

0 Answers  


write a porgram in c++ that reads an integer and print the biggest digit in the number

0 Answers  


difference between macro and function?

3 Answers  


How do I run a program in notepad ++?

0 Answers  


Describe run-time type identification?

1 Answers  


What are advantages of using friend classes?

0 Answers  


How many storage classes are available in C++?

1 Answers  


what is static function

2 Answers   Patni,


What are different types of loops in c++?

0 Answers  


Categories