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

What is the difference between procedural and functional programming?

1074


What is string function c?

1019


what is the basis for selection of arrays or pointers as data structure in a program

4306


What are the different file extensions involved when programming in C?

1252


What does int main () mean?

1020


What are c identifiers?

1087


How can I find out the size of a file, prior to reading it in?

1170


Is Exception handling possible in c language?

2046


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1091


Differentiate abs() function from fabs() function.

1009


What is the difference between far and near ?

1191


What is a #include preprocessor?

1146


What are the features of the c language?

1082


What is C language ?

1965


Describe dynamic data structure in c programming language?

1092