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
What is copy constructor? Can we make copy constructor private in c++?
What is the prototype of printf function?
Explain what are the sizes and ranges of the basic c++ data types?
Explain about vectors in c ++?
What is the use of lambda in c++?
What do you understand by zombie objects in c++?
What is the best c c++ compiler for windows?
Is it possible for the objects to read and write themselves?
Explain how we implement exception handling in c++?
Can manipulators fall in love?
Why is c++ considered difficult?
What is wrapper class in c++?
What does ctime() do?
Write a program to add three numbers in C++ utilizing classes.
What is the difference between *p++ and (*p)++ ?