Discussion :: Variable Number of Arguments
-
Point out the error in the following program.
#include
for(j=1; j
printf("%f", c); } }
A.
Error: invalid va_list declaration |
B.
Error: var c data type mismatch |
C.
No error |
D.
No error and Nothing will print |
Answer : Option B
Explanation :
Use double instead of float in float c;
Be The First To Comment