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 |
Explain selection sorting. Also write an example.
What is else syntax in c++?
Define the operators that can be used with a pointer.
What is scope operator in c++?
How is new() different from malloc()?
How java is different from c and c++?
You're given an array containing both positive and negative integers and required to find the sub-array with the largest sum (O(N) a la KBL). Write a routine in C for the above.
What does floor mean in c++?
What is scope resolution operator in c++ with example?
What is class and structure in c++?
What is stream and its types in c++?
Differentiate between an inspector and a mutator ?