Diff: between this 2 classes in terms of memory
class A
{
int i;
char c;
double d;
};
class A
{
double d;
int i;
char c;
};
How it is calculating?

Answer Posted / ashponni

Is the memory for double is assigned to int and char?

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is wrong with this program statement? void = 10;

919


What are multibyte characters?

735


What are the advantages of the functions?

714


What is an operator?

755


What is the difference between test design and test case design?

1669






What does != Mean in c?

684


What is a nested loop?

746


Apart from dennis ritchie who the other person who contributed in design of c language.

922


string reverse using recursion

1909


What is difference between far and near pointers?

697


What is typedef?

805


Differentiate between full, complete & perfect binary trees.

762


State the difference between x3 and x[3].

737


What is the difference between c and python?

675


What is #define in c?

712