How do you initialize a class member,
class x {
const int i;
};
Answer Posted / pc1989
x variable();
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is type of 'this' pointer?
What is a hash function c++?
Why is polymorphism useful?
How do you add an element to a set in c++?
Can we sort map in c++?
Is multimap sorted c++?
What is the difference between the functions rand(), random(), srand() and randomize()?
List the advantages of inheritance.
an operation between an integer and real always yeilds a) integer result b) real result c) float result
What is linked list in c++?
How to get the current position of the file pointer?
What is an associative container in c++?
Why do you use the namespace feature?
Do vectors start at 0?
Can we get the value of ios format flags?