

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code?#include <stdio.h> int main() { int p = 6, num, k, R = 0; scanf("%d", num); for (k = 0; k < num; k++) R += p; } |
A. | Multiplication of p and num |
B. | Division of p and num |
C. | Addition of p and num |
D. | Subtraction of p and num |
E. | It will not print any output. |
Answer» F. | |