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 / nisha
no difference
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are proxy objects in c++?
If there are two catch statements, one for base and one for derived, which should come first?
Can a program run without main?
What is runtime errors c++?
Which function should be used to free the memory allocated by calloc()?
Are there any special rules about inlining?
What is the difference between #define debug 0 and #undef debug?
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
What is polymorphism in c++? Explain with an example?
What is purpose of abstract class?
What is doubly linked list in c++?
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?
How does work in c++?
Is c better than c++?
What is the difference between a pointer and a link in c ++?