If one class contains another class as a member, in what order are the two class constructors called

a) Constructor for the member class is called first

b) Constructor for the member class is called second

c) Only one of the constructors is called

d) all of the above


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST

6 Answers   Adobe, Huawei,


How can draw a box in cprogram without using graphics.h header file & using only one printf(); ?

4 Answers   NIIT,


What is static and volatile in c?

0 Answers  


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

0 Answers  


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

0 Answers  






We can draw a box in cprogram by using only one printf();& without using graphic.h header file?

4 Answers   NIIT,


What is the difference between exit() and _exit() function in c?

0 Answers  


write a program to sum of its digit with using control structure or with out using loop. for ex: let the number is 25634 then answer will be=2+5+6+3+4=20

4 Answers  


what is computer engg

1 Answers  


Write a C Programm.. we press 'a' , it shows the albhabetical number is 1, if we press 'g' it shows the answer 7.. any can help me

7 Answers  


f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?

9 Answers   Hughes, Tech Mahindra,


how should functions be apportioned among source files?

0 Answers  


Categories