If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
what is data encapsulation in C++?
Explain the problem with overriding functions
What are the advantages of prototyping?
If you had the following code: int x = 23; int *y; y = &x; The instruction y++; does what?
How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)
What is a virtual destructor?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
Explain the concept of dynamic allocation of memory?
What's the hardest coding language?
Explain linear search.
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
Why pure virtual functions are used if they don't have implementation / When does a pure virtual function become useful?