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 definition and declaration?
give me some examples.

Answer Posted / mohammed anas

declaration:
for example,int i;
definition:
declaration as well as initialisation is known as definition
for example int i=25;

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to print numbers from 1 to 100 without using loop in c?

1085


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

1216


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2870


Between macros and functions,which is better to use and why?

2228


What are the benefits of organizational structure?

1031


Add Two Numbers Without Using the Addition Operator

828


Are there constructors in c?

1011


Does c have an equivalent to pascals with statement?

1007


What is hashing in c language?

1318


What are the basic data types associated with c?

1273


What are inbuilt functions in c?

1037


Can we use any name in place of argv and argc as command line arguments?

1076


What is difference between structure and union with example?

1059


int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above

1306


which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above

2065