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 11164template
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 7138int 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 10444Post New Quark C++ General Interview Questions
How do I fix msvcp140 dll missing in windows 10?
What is javax json?
Give three advantages of rpa tool?
what are the reporting tools and difference between them?
What is meant by delay angle?
Explain imsi?
What is jstl used for?
What do you mean by default dial-peer?
What is the max no of match code id's that can be defined for one match code object? : abap data dictionary
What is the difference between pass by reference and pass by pointer?
How do you think you can make a contribution to Buffalo Wild Wings?
How can you dynamically add user controls to a page?
Mention what are internal tables, check tables, value tables, and transparent table?
Explain hard disk and what is its purpose? : Dot net architecture
What is the difference between an abstract class and interface in java?