How do you initialize a class member,
class x {
const int i;
};
Answer Posted / anandam niranjan
i think it's not possible
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
What is the difference between while and do while loop? Explain with examples.
Why ctype h is used in c++?
Can the creation of operator** is allowed to perform the to-the-power-of operations?
Explain what is class definition in c++ ?
What are the three forms of cin.get() and what are their differences?
Explain the scope of resolution operator.
write a porgram in c++ that reads an integer and print the biggest digit in the number
Is overriding possible in c++?
Is rust better than c++?
Is map ordered c++?
What is the difference between structure and class?
What is the difference between a reference and a pointer?
What's c++ used for?
Does c++ have string data type?
What do you know about near, far and huge pointer?