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

45



Your comments will be displayed only after manual approval.