Home » C Programming » Operators » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int main()
    {
    int k = 3;
    int L = ++k + k;
    printf("%d\n", L);
    }
    1. 3
    2. Compilation Error
    3. 8
    4. Runtime Error
    5. None of these
Correct Option: C

8



Your comments will be displayed only after manual approval.