class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.
2 11011template
catch(exception &e) { . . . } Referring to the sample code above, which one of the following lines of code produces a written description of the type of exception that "e" refers to? a) cout << e.type(); b) cout << e.name(); c) cout << typeid(e).name(); d) cout << e.what(); e) cout << e;
2 6985int 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 10318Post New Quark C++ General Interview Questions
What is sql partition function?
How to terminating an app in windows 8.1?
I checked in modified code into vSS . Now I have another working area and which has older version. Now I wanted to findout the difference between VSS and older version in another working area which is not the VSS area. Now the question is after getting difference between the VSS and another working area. There will be some files difference. How do I take only difference files recursively into some other area.
Explain the concept of scope hierarchy. In what ways can you use a directive?
What is negative tag?
What is the Cdc?
What is ios viewdidload?
an array t[100] which contains numbers between 1..99. Return the duplicated value. Try both O(n) and O(n-square).
What do you understand by reactor pattern in node.js?
who issues a certificate, explain in detail?
What is Co- and Contra-Variance in C#?
Is java as fast as c++?
What are minterm and maxterm?
Please define e.s.u. it is the unit of ...... It is equal to .....
Do you need a projector for powerpoint?