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

Why main is used in c?

0 Answers  


give one ip, find out which contry

4 Answers   Google,


how to print a statement in c without use of console statement ,with the help of if statement it should print

2 Answers   Satyam,


What is a char in c?

0 Answers  


Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We.....Are....Student “ Note: one .=1 Space Output: "We Are Student"

6 Answers   IBM,






how the size of an integer is decided? - is it based on processor or compiler or OS?

19 Answers   HCL, JPR, Microsoft, nvidia,


what is the coding of display the factorial of a number using array and function?

1 Answers  


String concatenation

2 Answers  


write a program to add two numbers of any size.....(remember any size)

1 Answers  


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

0 Answers  


What is the purpose of sprintf?

0 Answers  


how to print value of e(exp1)up to required no of digits after decimal?

1 Answers  


Categories