sizeof - is it a function or operator?

Answer Posted / minakshi

sizeof is a operator

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between delete and free.

716


Why is c++ called oops?

650


How can you link a c++ program to c functions?

723


What is long in c++?

837


Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

1613






When must you use a pointer rather than a reference?

684


What is vectorial capacity?

773


What is a sequence in c++?

662


Can non-public members of another instance of the class be retrieved by the method of the same class?

692


What is a character in c++?

657


What are the defining traits of an object-oriented language?

790


Explain the concept of dynamic allocation of memory?

697


Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

712


Describe protected access specifiers?

775


When to use “const” reference arguments in a function?

682