sizeof - is it a function or operator?

Answers were Sorted based on User's Feedback



sizeof - is it a function or operator?..

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

sizeof - is it a function or operator?..

Answer / ruchi

size of is a unary operator

Is This Answer Correct ?    17 Yes 0 No

sizeof - is it a function or operator?..

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

sizeof - is it a function or operator?..

Answer / minakshi

sizeof is a operator

Is This Answer Correct ?    16 Yes 0 No

sizeof - is it a function or operator?..

Answer / chandrakant rohi

sizeof is a operator it size of variable

Is This Answer Correct ?    3 Yes 2 No

sizeof - is it a function or operator?..

Answer / naveen

sizeof is a function which return the size of variable or
an object

Is This Answer Correct ?    2 Yes 25 No

Post New Answer

More C++ General Interview Questions

Explain Text Manipulation Routines?

0 Answers  


What is the latest version on c++?

0 Answers  


What do you mean by function and operator overloading in c++?

0 Answers  


Can you pass an array to a function in c++?

0 Answers  


Explain how the virtual base class is different from the conventional base classes of the opps.

0 Answers  






What is istream and ostream in c++?

0 Answers  


Is multimap sorted c++?

0 Answers  


How do you generate a random number in c++?

0 Answers  


Can notepad ++ run c++?

0 Answers  


describe private access specifiers?

0 Answers  


You have to take 2 arrays of length 10. Input the values of array 1 from the user. Then copy the values of array 1 to array 2 in ascending order For example if user enters 9, 5, 6, 8, 1, 0, 2, 7, 4, 3 then copy the smallest element i.e. 0 first followed by 1, 2 and so

1 Answers  


What are shallow and deep copy?

0 Answers  


Categories