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 the difference between declaration ,defenetion and
initialization of a variable?

Answer Posted / siddiqui mohd. faisal

declaration : int a;
declaration means here a is declared as integer variable
initialization : int a = 5;
initialization is whatever you have declared give that
variable some value
definition : int a;
definition is whatever variable you have declared give it's
datatype as here a is declared as integer variable

Is This Answer Correct ?    32 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When can you use a pointer with a function?

1149


What is pointer in c?

1246


Describe the steps to insert data into a singly linked list.

1115


Can we add pointers together?

1115


Which node is more powerful and can handle local information processing or graphics processing?

1370


What is cohesion in c?

1025


Is there anything like an ifdef for typedefs?

1214


What is a memory leak? How to avoid it?

1422


how to build a exercise findig min number of e heap with list imlemented?

2127


What are the restrictions of a modulus operator?

1163


How can I make it pause before closing the program output window?

1079


In which language linux is written?

1288


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

2005


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

2127


How can I read a binary data file properly?

1245