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 c++ library is string in?
List the advantages of inheritance.
What is an overflow error?
Explain the concept of memory leak?
Explain the purpose of the keyword volatile.
What are arrays c++?
what is the difference between overloading & overriding? give example.
What is abstraction with real time example?
explain the reference variable in c++?
How we can differentiate between a pre and post increment operators during overloading?
How can a struct in c++ differs from a struct in c?
What are smart pointers?
What is the use of :: operator in c++?
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()
What is a static element?