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 is the this pointer?
whats the size of class EXP on 32 bit processor? class EXP { char c1; char c2; int i1; int i2; char *ptr; static int mem; };
When do we run a shell in the unix system? How will you tell which shell you are running?
What is helper in c++?
Should a constructor be public or private?
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?
How is computer programming useful in real life?
What is function overloading c++?
What is class syntax c++?
Is c++ a low level language?
Explain the uses of static class data?