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 c is called object oriented language?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
What is the difference between the expression “++a” and “a++”?
How many loops are there in c?
Explain what is the advantage of a random access file?
int i=10; printf("%d %d %d", i, i=20, i);
What are the similarities between c and c++?
Explain how can you restore a redirected standard stream?
What are nested functions in c?
What are the differences between new and malloc in C?
How can you increase the allowable number of simultaneously open files?
What is header file definition?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
How can you determine the size of an allocated portion of memory?
Is c easier than java?