How do you initialize a class member,
class x {
const int i;
};
Answer Posted / pappu
class abc
{
int a=4,b=3;
virtual mul(int int)=0;
}
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
How const int *ourpointer differs from int const *ourpointer?
Is the declaration of a class its interface or its implementation?
Can I make ios apps with c++?
Is there structure in c++?
the first character in the variable name must be an a) special symbol b) number c) alphabet
What is fixed in c++?
Who was the creator of c++?
What is polymorphism in c++? Explain with an example?
What is the best way to take screenshots of a window with c++ in windows?
What is else syntax in c++?
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)
Can a Structure contain a Pointer to itself?
What is the use of namespace std in C++?
Why the usage of pointers in C++ is not recommended ?
What is command line arguments in C++? What are its uses? Where we have to use this?