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;
Is swift a good first language?
why we cant create array of refrences
What are the various oops concepts in c++?
What is a container class? What are the types of container classes in c++?
Can constructor be private in c++?
What is singleton pattern in c++?
What is the difference between map and hashmap in c++?
How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.
Can you please explain the difference between static and dynamic binding of functions?
What are virtual constructors/destructors?
Explain the auto storage classes in c++.
What does flush do?