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
When should we use multiple inheritance?
What are pointer-to-members? Explain.
Can manipulators fall in love?
What is #include math h in c++?
Why do we need templates?
How do you invoke a base member function from a derived class in which you have not overridden that function?
Describe delete operator?
What is the best c++ ide?
What is the this pointer?
What is the difference between the functions rand(), random(), srand() and randomize()?
What is the use of function pointer?
What is an adaptor class or wrapper class in c++?
What is singleton pattern in c++?
What is meant by const_cast?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?