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 / ashponni
Is the memory for double is assigned to int and char?
| Is This Answer Correct ? | 3 Yes | 8 No |
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What is the sizeof () operator?
Define Array of pointers.
What is the difference between variable declaration and variable definition in c?
What are dangling pointers?
what is compiler
Is main a keyword in c?
Explain what are the __date__ and __time__ preprocessor commands?
What is use of null pointer in c?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What's wrong with "char *p = malloc(10);" ?
In which area global, external variables are stored?