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 10092

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 5787

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 6286

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 9636

Post New Quark Interview Questions




Un-Answered Questions

What are minimum requirements to run WordPress?

123


Less than one page, how many windows will you be able to maintain?

659


hi, I have received the call letter cum attestation form for the interview,and I have doubts regarding one qualification certificates i am B. Tech in IT so in the qualification should i write graduation or others?plz help me out.

1713


What are the different types of tables available in Hive?

476


How do you connect your django project to the database?

262






What are synonyms in sql?

629


What is the use of keygen in html5?

537


How many normal and special peroids can be there in a fiscal year? How do you open and close periods?

708


What is exchange? What is the use of exchange?

2159


What it's the difference between proc means and proc summary?

342


Can we create shortcuts to excel functions?

342


What are the different types of layout?

162


What is conditional formula?

287


What is raw datatype?

673


What is the behaviour of procurement type x?

573