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 9790template
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 6090int 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 9432Post New Quark Interview Questions
Write a trigger on account, while inserting a text value as ‘somename’ ended with ‘text’ ex: ‘renutext’ on account object it should through an error. How you will achieve this…??
What is the difference between DAG and Lineage?
If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.
List some pdb commands.
What is struts in j2ee?
How will you explain JOIN function in SQL to a 10 year old ?
What is meant by naive bayes classifier?
Define signal sampling?
Give me an example of business scenario and explain implementation with workflow?
char *a[2]; int const *p; int *const p; struct new { int a;int b; *var[5] (struct new)} Describe the statements in the above given construct ?
What is rtm in testing?
What is top half & bottom half of a kernel?
What is the report builder?
How many passes does bubble sort need?
Which is better wordpress or codeigniter?