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
How can I learn dev c++ programming?
What happens if a pointer is deleted twice?
What is null and void pointer?
Can we use pointers in c++?
Why cstdlib is used in c++?
Explain rtti.
What is endl?
What does new return if there is insufficient memory to make your new object?
an operation between an integer and real always yeilds a) integer result b) real result c) float result
What is a unnitialised pointer?
Can we inherit constructor in c++?
How the keyword struct is different from the keyword class in c++?
What is the cout in c++?
What is the use of register keyword with the variables?
How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?