The statement
float
*ptrNum = &number;
has the same meaning as _____.
float *ptrNum;
ptrNum=&number;
EXPLANATION:
Since,here *ptrNum is a floating pointer variable which holds the address of variable number.Hence,ptrNum contains the address of number and *ptrNum contains the value present in variable number which is a float type variable.
Hence,printing ptrNum gives the address of number and *ptrnum gives the value in number.These above two equations reflect the same meaning which is conveyed in a single equation given in the question.
Get Answers For Free
Most questions answered within 1 hours.