Home » C Programming » Variables » Question
  1. What will be the output of the following C code?
     #include <stdio.h>
    int main()
    {
    k = 23;
    printf("%d\n", k++);
    return 0;
    }
    1. 21
    2. 22
    3. 23
    4. 24
    5. Compilation Error
Correct Option: E

Variable k is not defined.



Your comments will be displayed only after manual approval.