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 |
What are default parameters? How are they evaluated in c++ function?
What is difference between initialization and assignment?
12 Answers HCL, HP, Infosys,
Explain linked list using c++ with an example?
What are raw sockets, where they are efficient?
Tell me what are static member functions?
Differentiate between an array and a list?
Is it possible to provide default values while overloading a binary operator?
Do you know what are static and dynamic type checking?
Difference between a homogeneous and a heterogeneous container
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
Which format specifier is used for printing a pointer value?
What is std :: flush?