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 11057template
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 7039int 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
explain in brief why do vsam take more disk space than other utilities?
Will it be an impressive decision to install a hotel carpet from the Nourison Hospitality?
What is default access specifier for class in c#?
What are the exit codes in node.js? List some exit codes?
HI, I am Praveen Saini having 5 yrs experience in s/w Testing field. I am looking change. I am having QTP 1.5 Yrs. + 3.5 Manual testing. If someone having position, lease let me know. sainipra@gamil.com 9811465496
What is the gas constant r for air?
Why is it called arch linux?
how many type of admixtures for water stored structure?
explain the difference between accessing a class method via -> and via ::
What is the most popular javascript library?
How can we create index after completion of load process?
What do you mean by auto wiring?
What is data stream and data adapter is it same are different? Explain?
I have kept recovery catalog on same target database and taken backup of target DB to disk. deleted the target DB & tried to restore and revoer DB using the backup on disk but it is not possible, how do we restore & recover DB
A 40 year old woman attends for hysterectomy for dysfunctional uterine bleeding 9 months after she was seen in clinic. Describe your pre-operative assessment and counselling.