| |
GeekInterview.com > Interview Questions > Programming > C
| Print | |
Question: What is the type of the variable b in the following declaration? #define FLOATPTR float* FLOATPTR a,b;
a) float b) float pointer c) int d) int pointer
Answer: Choose the correct option |
| November 11, 2005 09:58:51 |
#2 |
| Dhiraj |
Member Since: Visitor Total Comments: N/A |
RE: What is the type of the variable b in the followin... |
| The answer is Option Ahere the statement FLOATPTR a,b;becomes float* a,b;here "a" is a float pointer, but "b" is just an float variable.so the correct type for "b" is "float", and not "float-pointer" |
| |
Back To Question | |