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 8959template
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 5531int 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 8572Post New Quark Interview Questions
Why its better to use files than a DBMS when there are multiple users to access the data
when do we use roller bearing, deep groove ball bearing, angular bearing, sealed bearing, semi sealed bearing, unsealed bearing, anti friction bearing, journal bearing, thrust bearing
Differentiate between consignor and consignee?
Why is library() function used in r?
Why do you shop online/ or otherwise?
How do temporal tables work?
Which material grade is better for low temperature application upto -20 deg C either IS 2062 GR B OR IS 2062 GR C ?
How do I undeclare an xml namespace prefix?
Does mysql_real_escape_string prevent sql injection?
What is function and method in c#?
What is benefit of xodata compared to xsjs? : hana xsjs
when affected the system from virus , which paths will be it stored in system ?
Hi, How to reverse the refurbishment order process incase the user 1)dont want to get the goods back and 2)without incurring the cost?
What is a singleton pattern?
Explain by-group processing?