sizeof - is it a function or operator?
Answers were Sorted based on User's Feedback
Answer / aboelella
sizeof is a unary operator
It is used to get the size of datatypes
It can be used with all primitives
Is This Answer Correct ? | 34 Yes | 1 No |
Answer / shabeer
sizeof is a unary operator
it is used to get the size of datatype
it can be used with all primitives
Is This Answer Correct ? | 17 Yes | 1 No |
Answer / chandrakant rohi
sizeof is a operator it size of variable
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / naveen
sizeof is a function which return the size of variable or
an object
Is This Answer Correct ? | 2 Yes | 25 No |
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
Differentiate between an external iterator and an internal iterator?
How do I run c++?
what does the following statement mean? int (*a)[4]
What are the various storage classes in C++?
Name four predefined macros.
Is java as fast as c++?
What would happen on forgetting [], while deallocating an array through new?
What are the different types of polymorphism?
What will the line of code below print out and why?
What is wrapper class in c++?
How to declare an array of pointers to integer?