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

4 1



Your comments will be displayed only after manual approval.