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...

wat is the difference between a definition and declaration?
float y;---it looks like a declaration..but it s a
definition.how?someone explain

Answer Posted / vignesh1988i

this is declaration as well as definition....
according to me.,
DECLARATION here means that for some maniplation inside the
program we are going to use that variable y... but what is y
we want to tell the compiler so we are giving a new
DEFINITION to the alphabet as float DATA TYPE and thus we
are making the full variable


thank u

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c basic?

1156


Can a local variable be volatile in c?

980


What does typedef struct mean?

1093


Can you mix old-style and new-style function syntax?

1084


What is time complexity c?

981


What is the explanation for the dangling pointer in c?

1099


How to establish connection with oracle database software from c language?

2180


Describe how arrays can be passed to a user defined function

1272


What are the two types of structure?

1075


What does it mean when the linker says that _end is undefined?

1075


How can you restore a redirected standard stream?

1105


write a program for the normal snake games find in most of the mobiles.

2244


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

3230


What are the 5 types of inheritance in c ++?

1010


Why is main function so important?

1084