Home » C Programming » Preprocessors » Question
  1. What will be the output of the following C code?
     #include <stdio.h>
    void main()
    {
    #define count 55
    count = 23;
    printf("%d", count);
    }
    1. 23
    2. Garbage value
    3. 55
    4. Compilation Error
    5. None of these
Correct Option: D

Compilation Error

main.c: In function ‘main’:
main.c:5:15: error: lvalue required as left operand of assignment
count = 23;



Your comments will be displayed only after manual approval.