Why do we use string in c++?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
How do we implement inheritance in c++?
What is the prototype of printf function?
Explain bubble sorting.
What is flag in computer?
Is c++ a float?
Differentiate between an array and a list?
What return value must conversion operators have in their declaration?
Define a conversion constructor?
class basex { int x; public: void setx(int y) {x=y;} }; class derived : basex {}; What is the access level for the member function "setx" in the class "derived" above? a) private b) local c) global d) public e) protected
what is difference between static and non-static variables
Explain container class.