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 diffrance between declaration and defination of a variable or function

Answer Posted / deepak mundhada

1 when we declare a variable it gets memory allocated at
stack in ram.
definition means we are assigning value to that variable.

2 address of variable can be changed but address cant be
changed.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a house a mass structure?

1097


Is return a keyword in c?

1090


What is sizeof array in c?

1062


What do you understand by friend-functions? How are they used?

1212


What are the different types of endless loops?

1082


What is c standard library?

1209


Define VARIABLE?

1172


What is sizeof c?

1081


How do you sort filenames in a directory?

1185


Are there namespaces in c?

1133


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1976


How many levels deep can include files be nested?

1142


What is string function in c?

990


What is a program flowchart and how does it help in writing a program?

1144


Are c and c++ the same?

1057