sizeof - is it a function or operator?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c++ difficult?

686


What are the advantages of prototyping?

657


What is the best c++ compiler?

678


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

668


What is the meaning of c++?

636






Why c++ is better than c language?

662


What is pure virtual function?

716


Can we get the value of ios format flags?

761


What is stoi in c++?

802


Explain the concept of copy constructor?

712


Can we change the basic meaning of an operator in c++?

742


Explain the differences between list x; & list x();.

682


What is private inheritance?

678


What is a stack c++?

657


What is a terminating character in c++?

874