//please read the question very carefully....else you wont get it.....
#include
class ABC
{
};
void main()
{
ABC a;
cout<
}
/* my question is : what is the output of this prog.....ok i give you the answer it's not 0, so if the size of class is determined by the size of the data members contained in it therefore this class should have size zero since it does not contain any data member, in turn the size of its objects is also zero but still the size of objects on ABC class comes to be 1.....Answer this ----> why?
i know the answer, i will answer the question if no one can...
*/
2006-08-14
06:58:50
·
6 answers
·
asked by
DeAd MaN
4
in
Computers & Internet
➔ Programming & Design