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

Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5065


Explain how does flowchart help in writing a program?

636


What are the benefits of c language?

653


Apart from dennis ritchie who the other person who contributed in design of c language.

817


What is difference between Structure and Unions?

645






What is the difference between memcpy and memmove?

608


What is new line escape sequence?

814


How do I get an accurate error status return from system on ms-dos?

653


if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

717


What is use of null pointer in c?

576


which is an algorithm for sorting in a growing Lexicographic order

1403


Explain the difference between malloc() and calloc() function?

608


"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks

664


What is the auto keyword good for?

631


Write a program to use switch statement.

664