Home » C Programming » Operators » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int main()
    {
    int p = 20, q = 10, r = 10;
    int s;
    s = p == (q + r);
    printf("%d", s);
    }
    1. 20
    2. 10
    3. Compilation Error
    4. 1
    5. None of these
Correct Option: D

1



Your comments will be displayed only after manual approval.