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;
How can a called function determine the number of arguments that have been passed to it?
Can constructor be static in c++?
List the merits and demerits of declaring a nested class in C++?
What does return 0 do in c++?
When is a template better solution than a base class??
What is the difference between = and == in C?
20 Answers Christ University, Intel,
Explain abstraction.
What is auto type c++?
Why is the function main() special?
Explain the differences between private, public and protected and give examples.
What is java and c++?
Explain the concept of memory leak?