If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?


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

Post New Answer

More C++ General Interview Questions

what is data encapsulation in C++?

0 Answers  


Explain the problem with overriding functions

0 Answers  


What are the advantages of prototyping?

0 Answers  


If you had the following code: int x = 23; int *y; y = &x; The instruction y++; does what?

2 Answers  


How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)

2 Answers  






What is a virtual destructor?

2 Answers  


Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement

0 Answers  


Explain the concept of dynamic allocation of memory?

0 Answers  


What's the hardest coding language?

0 Answers  


Explain linear search.

0 Answers  


int f() { int I = 12; int &r = I; r += r / 4; int *p = &r; *p += r; return I; } Referring to the sample code above, what is the return value of the function "f()"? a) 12 b) 15 c) 24 d) 17 e) 30

2 Answers   AIG, Quark,


Why pure virtual functions are used if they don't have implementation / When does a pure virtual function become useful?

1 Answers  


Categories