Home » C Programming » Variables » Question
  1. What will be the output of the following C code?
     #include <stdio.h>
    int main()
    {
    int Eighteen = 18;
    int eighteen = 15;
    printf("%d", eighteen);
    return 0;
    }
    1. 18
    2. Compilation Error
    3. 15
    4. Runtime Error
    5. None of these
Correct Option: C

Variable names Eighteen and eighteen are both distinct as C is case sensitive.



Your comments will be displayed only after manual approval.