What is the difference in size of this two clasees?
Class A
{
int a;
char c;
float f;
}
Class B
{
float f;
char c;
int a;
}
Answer Posted / som shekhar
No difference
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Explain friend class?
What is an operator function? Describe the function of an operator function?
What is dev c++ used for?
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?
What is the type of 'this' pointer?
What are the two types of comments?
What is #include iostream in c++?
Should the this pointer can be used in the constructor?
What is the main purpose of overloading operators?
If a header file is included twice by mistake in the program, will it give any error?
Who made c++?
Is it possible to write a c++ template to check for a function's existence?
Define the operators that can be used with a pointer.
Explain how functions are classified in C++ ?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].