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 / prakash

Declaration: int a;(does not allocate memory)
Initialisation: a=5;(value is assigned for 'a')
Definition: int a=5;(allocates memory)

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of arrays in c?

1094


If the size of int data type is two bytes, what is the range of signed int data type?

975


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

2256


hi, which software companys will take,if d candidate's % is jst 55%?

2047


Explain pointer. What are function pointers in C?

1016


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1078


What is the difference between typedef struct and struct?

1066


What is sizeof in c?

955


How many main () function we can have in a project?

1064


Explain the difference between structs and unions in c?

958


All technical questions

1921


What is the difference between struct and union in C?

1242


Is it possible to have a function as a parameter in another function?

1038


Explain what are binary trees?

1021


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

1145