in C Plus Plus by
Q:
What is the output of this C code?

    #include <stdio.h>
    int main()
    {
        int i = 1;
        if (i++ && (i == 1))
            printf("Yes\n");
        else
            printf("No\n");
    }
a.No
b.Depends on the standard
c.Yes
d.Depends on the compiler

Related questions

+1 vote
asked Jun 13, 2019 in C Plus Plus by Derya
+1 vote
asked Jun 13, 2019 in C Plus Plus by Derya
0 votes
asked Nov 24, 2020 in C Plus Plus by sharadyadav1986
0 votes
asked Mar 17, 2020 in C Plus Plus by SakshiSharma
0 votes
asked Jun 11, 2020 in C Plus Plus by Robindeniel
...