Home » C Programming » Operators » Question
  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;
    }
    1. Multiplication of p and num
    2. Division of p and num
    3. Addition of p and num
    4. Subtraction of p and num
    5. It will not print any output.
Correct Option: E

It will not print any output.



Your comments will be displayed only after manual approval.