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 |
How can you quickly find the number of elements stored in a a) static array b) dynamic array ?
What is oop in c++?
Explain what happens when a pointer is deleted twice?
Using a smart pointer can we iterate through a container?
What is an opaque pointer?
What C++ libraries are you proficient with?
What is the most useful programming language?
Why do we need runtime polymorphism in c++?
What is the use of ‘using’ declaration?
Is swift faster than c++?
Discuss the possibilities related to the termination of a program before entering the mainq method?
What does extern mean in a function declaration in c++?