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
In a function declaration, what does extern mean?
What is a c++ vector?
what is C++ objects?
How would you use the functions sin(), pow(), sqrt()?
How many characters are recognized by ANSI C++?
how to explain our contribution in the project?
Explain method of creating object in C++ ?
What is the purpose of extern storage specifier?
What is array in c++ pdf?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
What is ostream in c++?
What are the three forms of cin.get() and what are their differences?
What does it mean to declare a member variable as static?
Are iterators pointers?
Explain the volatile and mutable keywords.