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


Please Help Members By Posting Answers For Below Questions

how to access grid view row?

1812


When we use Abstract Class and when we use Interface?where we will implement in real time?

1664


What is the purpose of the "delete" operator?

624


Explain container class.

685


Which is best c++ or java?

604






what are the iterator and generic algorithms.

1459


Name the debugging methods that are used to solve problems?

579


What is the use of setprecision in c++?

540


How do you define a class in c++?

639


Do you know the use of vtable?

629


What is c++ & why it is used?

588


What is do..while loops structure?

615


What is == in programming?

612


What is the basic structure of a c++ program?

608


What is the use of endl in c++ give an example?

610