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 |
Difference between const char* p and char const* p?
Which is not a valid keyword a) public b) protected c) guarded
What is the v-ptr?
Explain data encapsulation?
Explain how a pointer to function can be declared in C++?
What is c++ used for in games?
What is a terminating character in c++?
CAN U SAY WHICH PROGRAMING LANGUAGE IS USED BY DOCTORS....?
Write a program using display() function which takes two arguments.
Why namespace is used in c++?
Write a corrected statement in c++ so that the statement will work properly. x + y=z;
Do we have private destructors?