in c programing what is the difference between float*a; and float a;

i am in ty.b.sc mathematics and i am studding c programing so i am confiused in some question like Q:type declaration in c Q:call by reference,call by value for user-defined function Q:difference between 1.'a' and"a" 2.atoi() and atof() functions

...Read more

49 Views|Posted 2011-07-15 20:25:16
Asked by Anam
3 Answers
Neeharika Pandey
2011-07-15 21:08:48
float a means declaring a variable representing a decimal value and float *a means pointer to a containing the address of the variable in memory.

Thumbs Up IconUpvote Thumbs Down Icon
Rameshwar.S.Soni
2011-07-15 21:53:35
Hi anam,,we declare variables in a programming language so that v can store some values in it...Now by doing "float a" you r declaring or creating a storage location in memory which is named as "a" & now you can store fractional number in variable "a"...By doing "float* a" you are declaring a pointe

...Read more

Thumbs Up IconUpvote Thumbs Down Icon
A
2011-07-15 20:51:05
well float a means that you are declaring variable a as float which means that a shuld be in decimal form.

Thumbs Up IconUpvote Thumbs Down Icon

Taking an Exam? Selecting a College?

Get authentic answers from experts, students and alumni that you won't find anywhere else.

On Shiksha, get access to

66K
Colleges
|
1.2K
Exams
|
6.9L
Reviews
|
1.9M
Answers

Share Your College Life Experience

Didn't find the answer you were looking for?

Search from Shiksha's 1 lakh+ Topics

or

Ask Current Students, Alumni & our Experts

Have a question related to your career & education?

or

See what others like you are asking & answering