What is difference between initialization and assignment?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how a pointer to function can be declared in C++?

590


If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?

1020


what does the following statement mean? int (*a)[4]

629


Specify different types of decision control statements?

369


I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?

1593






What is an operator function? Describe the function of an operator function?

632


What is the difference between structure and class?

573


Can we use this pointer in a class specific, operator-overloading function for new operator?

626


What is the difference between mutex and binary semaphore?

627


Is set c++?

585


Can I create my own functions in c++?

617


Describe the setting up of my member functions to avoid overriding by the derived class?

622


What do you mean by delegate? Can a user retain delegates?

542


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

627


Write my own zero-argument manipulator that should work same as hex?

599