Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Quark Interview Questions
Questions Answers Views Company eMail

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 9744

template class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }

1 5574

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 6052

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

2 9384

Post New Quark Interview Questions




Un-Answered Questions

Name some of the features present in vb 2005?

563


Describe how to implement globalization and localization in the use interface in .net.

552


What are the things that you must define for each external dependency?

137


How do I upload a file from my ASP.NET page?

587


How do I access the running db instance?

194






Dear Sir i am working in Infosys pune. I am thinking of doing MBA partime. Could you please list the universities in pune. Which have good Campus placement

1796


What are the some common problems associated with dense phase pneumatic conveying?

609


what is the critical issue u are faced in your previous experience

1416


What’s an internal module?

1


i have secured my graduation with very low %age of 48% and with two attempts but in mba entrance i have secured 91%ile so im afraid abt interview that if they ask me about my academics and y i have such low performance how will i face that with confidence plz answer this .

1418


What is mvc (model, view, and controller) in cakephp?

3


What is torque converter?

1018


Whether amorphous core transformer is available in India?.If available then up to what rating of voltage and KVA?.

1293


Where can I find my windows product key?

420


plz send me a solved paper on SBI of clerk post

1823