Answer Posted / divyachinnamaru
Eg :
class A // empty class
{
};
int main()
{
cout<<"size of class is "<<sizeof(A)<<endl;
return 0;
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain object slicing in c++?
What are smart pointers?
Can c++ be faster than c?
What are the advantages of using pointers in a program?
What will the line of code below print out and why?
Explain differences between alloc() and free()?
How can I learn dev c++ programming?
What are c++ tokens?
What is helper in c++?
What are the methods of exporting a function from a dll?
Why c++ is called oop?
What is setf in c++?
What is difference between class and structure in c++?
Explain how the virtual base class is different from the conventional base classes of the opps.
Can comments be nested?