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
What are iterators in c++?
Where can I run c++ program?
Where Malloc(), Calloc(), and realloc() does get memory?
Is map sorted c++?
Why main function is special in c++?
What is the oldest programming language?
Why should we use null or zero in a program?
What is the use of default constructor?
Should the this pointer can be used in the constructor?
How new/delete differs from malloc()/free?
What is the use of lambda in c++?
Is c++ a dying language?
Explain about vectors in c ++?
What is c++ library?
Which is most difficult programming language?