What is size of a empty class?

Answer Posted / sourisengupta

1 Byte.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

603


What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal

693


What is c++ virtual inheritance?

595


State two differences between C and C++.

606


How should runtime errors be handled in c++?

609






Can notepad ++ run c++?

540


Explain stack unwinding.

632


Define what is constructor?

583


What does n mean in c++?

630


Using a smart pointer can we iterate through a container?

559


There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.

2530


What is a dynamic binding in c++?

528


What is the use of ::(scope resolution operator)?

646


How many types of classes are there in c++?

590


Is java the same as c++?

545