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
Difference between class and structure.
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
What does flush do c++?
the maximum length of a character constant can be a) 2 b) 1 c) 8
Why c++ is not a pure oop language?
What is token c++?
What is the standard template library (stl)?
what you know about c++?
Out of fgets() and gets() which function is safe to use?
Why do we use templates?
what is oops and list its features in c++?
Write a function that swaps the values of two integers, using int* as the argument type?
Explain the uses oof nested class?
What is oops in c++?
What are virtual functions in c++?