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
Differentiate between structure and class in c++.
Can a function take variable length arguments, if yes, how?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create
What is ios class in c++?
What are the effects after calling the delete this operator ?
Is swift faster than c++?
What are the benefits of c++?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
What is flush c++?
What is singleton class in c++?
Incase of a function declaration, what is extern means?
Why is c++ still popular?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
What is encapsulation in C++? Give an example.