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 binary object model?
What is the difference between struct and class?
Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?
What is #include iostream h in c++?
How much do c++ programmers make?
Is c++ a programming language?
What are structs in c++?
What is the best c++ book for beginners?
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}
What is boyce codd normal form in c++?
What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h
Define friend function.
What is const pointer and const reference?
Can we distribute function templates and class templates in object libraries?
Does there exist any other function which can be used to convert an integer or a float to a string?