

MCQOPTIONS
Saved Bookmarks
1. |
Point out the error in the following program._x000D_ #include_x000D_ #include_x000D_ _x000D_ int main()_x000D_ {_x000D_ void display(int num, ...);_x000D_ display(4, 12.5, 13.5, 14.5, 44.3);_x000D_ return 0;_x000D_ }_x000D_ void display(int num, ...)_x000D_ {_x000D_ float c; int j;_x000D_ va_list ptr;_x000D_ va_start(ptr, num);_x000D_ for(j=1; j |
A. | Error: invalid va_list declaration |
B. | Error: var c data type mismatch |
C. | No error |
D. | No error and Nothing will print |
Answer» C. No error | |