

MCQOPTIONS
Saved Bookmarks
1. |
Determine the output of the given program.#include int main(){int i, a[4] = {3, 1, 2, 4}, result;result = a[0];for(i = 1; i < 4; i++){if(result > a[i])continue;result = a[i];}printf("%d", result);return 0;} |
A. | 1 |
B. | 4 |
C. | 3 |
D. | Error |
Answer» C. 3 | |