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

What library is sizeof in c?

0 Answers  


logic for x=y^n

1 Answers   Delphi,


Is c# a good language?

0 Answers  


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

0 Answers  


What is pivot in c?

0 Answers  


What is a stream water?

0 Answers  


4. main() { int c=- -2; printf("c=%d",c); }

0 Answers  


how to make program without <> in library.

1 Answers   ADITI,


If null and 0 are equivalent as null pointer constants, which should I use?

0 Answers  


what is the difference between procedure oriented and object oriented progaming language

1 Answers  


What will be the output of x++ + ++x?

20 Answers   MBT, Religare,


You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.

2 Answers   Microsoft,


Categories