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
Are strings mutable in c++?
In a function declaration what does extern means?
What are the five basic elements of a c++ program?
What is nested class in c++?
What are c++ manipulators?
Which c++ compiler is best?
Explain the difference between c++ and java.
Why is "using namespace std;" considered bad practice?
Can I learn c++ without c?
What are the uses of c++ in the real world?
Explain terminate() function?
What are the manipulators in c++?
What are the basic data types used in c++?
What is private inheritance?
How would you differentiate between a pre and post increment operators while overloading?