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 11055template
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 7035int 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 10349Post New Quark C++ General Interview Questions
Where is mongodb data stored?
acetylene is stored in ?
the water is flowing through a velocity of 1.5m/s in a pipe of length 2500m and dia 500mm. at the end of pipe a valve is provided. find rise in pressure 1. if the valve is closed in 5 seconds. 2. if the valve is closed instantaneously. take value of c = 1460m/s, pipe to be rigid and bulk modulus of water - 19.692x10' n/sqcm
What is the difference between Thin client and Thick Client ?
What is the command merge and center in excel?
In how many ways we can retrieve the data in the result set of MySQL using PHP? What is the difference between mysql_fetch_object and mysql_fetch_array ?
Can you discuss a situation where you managed supply chain challenges that impacted production schedules?
How can I reduce the size of a powerpoint file online?
Explain how do classification and regression differ?
how to construct simple biogas digerter? please show me detail drawing and specification of simple biogas construction?
How will you explain save() and saveorupdate() methods in hibernate?
Explain JMS and its Component?
What are the special stocks in sap?
how to make and display a form without title bar?
Difference b/w SCSI AND IDE