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 / nirmal kumar tailor

declaration means you declare variable.
ex: int a;
defination means this integer type a variable take 2 byte
memory space.
initialization means we initialize the value of integer a
variable type.
ex: int a=2;
in declaration we declare variable and variable type , in
initialization we define the value and in defination we
define the type of variable.

Is This Answer Correct ?    23 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1115


What is difference between arrays and pointers?

1148


What is #include stdio h and #include conio h?

1176


What is bash c?

1063


How do you use a pointer to a function?

1148


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

2233


How do we declare variables in c?

1115


Why is sprintf unsafe?

1128


diff between exptected result and requirement?

2110


Is it possible to use curly brackets ({}) to enclose single line code in c program?

1372


Explain zero based addressing.

1096


When is a null pointer used?

1168


How many types of operators are there in c?

1086


Add Two Numbers Without Using the Addition Operator

877


cavium networks written test pattern ..

4139