-
-
-
Classes
What error is caused by the following code ?class TemperatureList { public: TemperatureList( ); private: double * list; int size;};void func(Money amount);[...]int main{ TemperatureList list1; func(list1); return 0;}Choose one answer. a. double free b. divide by zero c. illegal argument d. no error
-
-
-
-
-
Acrobat Plug-in getting triggered automatically
HiI am new to this site and have no idea where to post this question. I will really appreciate if someone can help me solve this problem. I am developing an acrobat plug-in for Acrobat professional 9 which will export all annotations in original document into an xfdf document.The plug-in must get triggered on saving the original document after creation of annotation.For this I captured before save...
-
-
-
-
-
Classes
How many parameters are there in a binary operator implemented as a friend?Choose one answer. a. 2 b. 0 c. 1 d. as many as you need
-
-
-
-
Inheritance
Which one of the following statements regarding C++ class inheritance is FALSE?
a. Inheritance promotes generic design and code reuse.b. Struct cannot be inherited in C++.
c. C++ supports multiple inheritance. d. Inheritance is a mechanism through which a subclass inherits the properties and behavior of its superclass. -
-
-
C++ Interview Questions
Ans