sizeof - is it a function or operator?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to find the reverse Fibonacci series starting from N.

690


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

695


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

707


Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?

2099


How can we check whether the contents of two structure variables are same or not?

684






What is array give example?

670


What do you mean by vtable and vptr in c++?

719


What is the use of dot in c++?

712


What are the advantages of using a pointer?

693


Explain some examples of operator overloading?

753


What is copy constructor? Can we make copy constructor private in c++?

679


What is virtual methods?

763


What does ctime() do?

691


What c++ is used for?

672


Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h

757