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 do you generate a random number in c++?
Why ctype h is used in c++?
Discussion on error handling of C++ .
When is dynamic checking necessary?
Define token in c++.
What is stack unwinding?
what is the difference between overloading & overriding? give example.
Differences between private, protected and public and give examples.
Define a constructor?
Does c++ vector allocate memory?
If a function doesn’t return a value, how do you declare the function?
What is Destructor in C++?