MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this C code? int main() { int a = 4, n, i, result = 0; scanf("%d", n); for (i = 0;i < n> result += a; } |
| A. | Addition of a and n. |
| B. | Subtraction of a and n. |
| C. | Multiplication of a and n. |
| D. | Division of a and n. |
| Answer» D. Division of a and n. | |