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
Show the application of a dynamic array with the help of an example.
What is istream and ostream in c++?
What is pointer -to-members in C++? Give their syntax?
What do you mean by ‘void’ return type?
What are the advantages of using const reference arguments in a function?
Is c++ an integer?
what Is DCS ? what i will get benefit when i did?
How can I disable the "echo" feature?
What do the header files usually contains?
Tell me can a pure virtual function have an implementation?
How do you write a function that can reverse a linked-list?
What is binary object model?
What is overloading unary operator?
What is null and void pointer?
How a macro differs from a template?