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

When does a 'this' pointer get created?

613


What are c++ tokens?

586


Is swift faster than go?

604


What are c++ variables?

531


How do pointers work?

701






What are files in c++?

585


Write about c++ storage classes?

740


What is the main purpose of overloading operators?

584


Is it possible to provide special behavior for one instance of a template but not for other instances?

626


What is the history of c++?

550


List the special characteristics of constructor.

722


Differentiate between late binding and early binding. What are the advantages of early binding?

574


What is istream c++?

562


What is void pointer in c++ with example?

588


Describe the syntax of single inheritance in C++?

639