Friday 4 January 2008

C programming language questions

1.For the following program.struct XXX

{int a;

float b;

char *s;

}X;
If optimization :X not used in compiler then unused
bits_________________.

Give your assumption_______________.
2. Give the output of the following program
struct XXX

{int a:6;

float b:4;

char s;

}structure;
size of (structure);3.Class used for the multiple inheritance in JAVA_________________
anonymous class

(b) inner

No comments:

Post a Comment