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
49 Views|Posted 2011-07-15 20:25:16
Asked by Anam
3 Answers

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

Answered by
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
A
Answered by
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.
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
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