class HasStatic {
static int I;
};
Referring to the sample code above, what is the appropriate
method of defining the member variable "I", and assigning it
the value 10, outside of the class declaration?
a) HasStatic I = 10;
b) int static I = 10;
c) static I(10);
d) static I = 10;
e) int HasStatic::I = 10;
Explain how an exception handler is defined and invoked in a Program.
Explain the difference between abstract class and interface in c++?
What is function overloading c++?
Explain the difference between c++ and java.
Can we define a constructor as virtual in c++?
How would you use qsort() function to sort an array of structures?
What is the output of: String a1 = "Hello"; String a2 = "world!"; String* s1 = &a2; String& s2 = a1; s1 = &a1; s2 = a2; std::cout << *s1 << " " << s2 << std::endl;
What are the general quetions are in DEna bank manager IT/System interviews?
Declare a class vehicle and make it an abstract data type.
How important is c++?
How a modifier is similar to mutator?
What is the Difference between "C structure" and "C++ structure"?