In how many ways we can initialize an int variable in C++?
For example, to declare a variable of type int called x and initialize it to a value of zero from the same moment it is declared, we can write: int x = 0; A second method, known as constructor initialization (introduced by the C++ language), encloses the initial value between parentheses ( () ):
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain deep copy?
Which is best c++ or java?
Which is the best c++ compiler?
When is the destructor called?
What is meaning of in c++?
What is the outcome of cout< a) 16 b) 17 c) 16.5
What is the difference between method overloading and method overriding in c++?
Should the member functions which are made public in the base class be hidden?
What is size_type?
simple c++ program for "abcde123ba" convert "ab321edcba" with out using string
What is the basic concept of c++?
What things would you remember while making an interface?