Users Also Read
MCQ's Search Engine
Electrical Engineering
Mechanical Engineering
Civil Engineering
Automobile Engineering
Chemical Engineering
Computer Engineering
Electronics Engineering
Medical Science Engg
What is the output of this C code? #include int main() { int a = 4, n, i, result = 0; scanf("%d", n); for (i = 0;i < n; i++) result += a; } | |
A. | Addition of a and n. [Wrong Answer] |
B. | Subtraction of a and n. [Wrong Answer] |
C. | Multiplication of a and n. [Correct Answer] |
D. | Division of a and n. [Wrong Answer] |