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 |
Does c have circular shift operators?
What is c basic?
what is output? main() { #define SQR(x) x++ * ++x int i = 3; printf(" %d %d ",SQR(i),i * SQR(i)); } a)9 27 b)35 60 c)20 60 d)15 175
char p="data"; printf(p);
What are the uses of pre-processor directives?
What is a #include preprocessor?
can we print any string in c language without using semicolon(;)(terminator) in whole program.
What is union and structure in c?
List out few of the applications that make use of Multilinked Structures?
can we implement multi-threads in c.
what is the difference between call by value and call by reference?
5 Answers Genpact, Global Logic, Infosys,
How can you allocate arrays or structures bigger than 64K?