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

How do you initialize a class member, class x { const int i; };

8 Answers   emc2,


How to implement flags?

2 Answers   Symphony,


Explain what you mean by a pointer.

0 Answers   TCS,


What is difference between rand () and srand ()?

0 Answers  


How can you specify a class in C++?

0 Answers  


Write a program to get the value of sin (x) using a library function , when x is given in degrees.

1 Answers  


write a C++ programming :if the no is between 32 to 50 it will be odd.

3 Answers   NIIT,


Which programming language's unsatisfactory performance led to the discovery of c++?

0 Answers  


What is c++ iterator?

0 Answers  


What is the difference between method and message?

5 Answers   HP,


Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)×h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program

0 Answers   Maxobiz,


When to use “const” reference arguments in a function?

0 Answers  


Categories