What is difference between initialization and assignment?
Answers were Sorted based on User's Feedback
Answer / rahul rasal
Simple Word In my Word..
Initilize:
E.g:
int i;
Assign:
E.g:
int i=30;
Is it Right...?
| Is This Answer Correct ? | 3 Yes | 8 No |
Answer / 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 |
What is the use of c++ programming language in real life?
Write a c program for binary addition of two 8 bit numbers.
What is ios flag in c++?
Which coding certification is best?
Give an example of run-time polymorphism/virtual functions.
What is a stack? How it can be implemented?
what is smart pointer & use of the smart pointer ???
What is the use of map in c++?
What are disadvantages of pointers?
what is C++ objects?
Can member data be public?
Name some pure object oriented languages?