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
Why do we need arrays in c?
Is c high or low level?
What is typeof in c?
Can we initialize extern variable in c?
What is array of structure in c?
What is the correct declaration of main?
What is structure padding in c?
What is the right type to use for boolean values in c? Is there a standard type?
Why do we use c for the speed of light?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
Why does everyone say not to use scanf? What should I use instead?
What is local and global variable in c?
What are the features of c languages?
How old is c programming language?