1.

       Note:Includes all required header files class Test {  int x; };int main(){  Test t;  cout << t.x;  return 0;}
14.Assume that an integer and a pointer each takes 4 bytes. Also, assume that there is no alignment in objects. Predict the output following program.

A. 12 12
B. 12 4
C. 8 4
D. 8 8
Answer» D. 8 8


Discussion

No Comment Found

Related MCQs