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 null pointer and void pointer?
Write a program to add three numbers in C++ utilizing classes.
What is the standard template library (stl)?
What are the data types in c++?
What is ostream in c++?
What is friend class in c++ with example?
What is the array and initializing arrays in c++?
What is constant in c++ with example?
How many characters are recognized by ANSI C++?
Write syntax to define friend functions in C++.
Explain all the C++ concepts using examples.
Can we use clrscr in c++?
If I is an integer variable, which is faster ++i or i++?
Describe new operator and delete operator?
What is namespace std; and what is consists of?