Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is difference between initialization and assignment?

Answers were Sorted based on User's Feedback



What is difference between initialization and assignment?..

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

What is difference between initialization and assignment?..

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

Post New Answer

More C++ General Interview Questions

What are the advantages of using friend classes?

0 Answers  


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

0 Answers  


How to stop conversions among objects?

5 Answers   Symphony,


What is the function of I/O library in C++ ?

0 Answers   HCL,


When should we use multiple inheritance?

0 Answers  


What are the static members and static member functions?

1 Answers  


What is the difference between equal to (==) and assignment operator (=)?

0 Answers  


Is c++ platform dependent?

0 Answers  


Why do we need function?

0 Answers  


Can create new c++ operators?

0 Answers  


Define a pointer to a data member of the type pointer to pointer?

0 Answers  


What does ios :: app do in c++?

0 Answers  


Categories