Home » C Programming » Operators » Question
  1. Comment on the output of the following C code.
    #include <stdio.h>
    int main()
    {
    int k, num, x = 6;
    scanf("%d", &num);
    for (k = 0; k < num; k++)
    num = num * 3;
    }
    1. Bitwise exclusive OR
    2. Arithmetic Shift right
    3. Logical Shift left
    4. No output
    5. None of these
Correct Option: D

No output



Your comments will be displayed only after manual approval.