What's the difference between "float n" and "float *n" in C++?

Status
Not open for further replies.

fatma1000

Banned
Joined
Apr 30, 2006
Messages
147
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Location
eygpt
Activity points
0
what is the deference between

float n;

and

float *n;

Added after 9 minutes:

also what is the mean of

struct fld*ftr[2];
and
ftr[0]->EX[]

and
holders

Added after 3 hours 27 minutes:

please what is the mean of

bzero

regards
 

help3 c++

It is related to variable and pointer to variables .. Study any C eBooks plenty are available ..
 

Re: help3 c++

float n
it is a float variable to store float(values in points)

float *n
it is pointer to float variable n which is keeping address of this variable
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…