What is difference between initialization and assignment?
Answer Posted / shweta iyer
In initialization, we provide the variable with some initial values which can be changed later. But in assignment, we provide the variable with a fixed value which remains same throughout the whole program.
| Is This Answer Correct ? | 8 Yes | 14 No |
Post New Answer View All Answers
Write a program to find the reverse Fibonacci series starting from N.
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
What is the use of ::(scope resolution operator)?
Define a constructor - what it is and how it might be called (2 methods)?
Why cstdlib is used in c++?
Which one is a preferred language C or C++? Why?
Is c++ used anymore?
Define a nested class. Explain how it can be useful.
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 scope resolution operator in c++ with example?
What is the difference between method overloading and method overriding in c++?
Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be
What is pointer in c++ with example?
Explain the static member function.
Can create new c++ operators?