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

    #include <stdio.h>
    int main()
    {
        int i = -3;
        int k = i % 2;
        printf("%d\n", k);
    }
a.Implementation defined
b.-1
c.1
d.Compile time error

Related questions

0 votes
asked Jun 11, 2020 in C Plus Plus by Robindeniel
+1 vote
asked Jun 13, 2019 in C Plus Plus by Derya
0 votes
asked Jun 11, 2020 in C Plus Plus by Robindeniel
+2 votes
asked Jun 19, 2019 in C Plus Plus by kamalkhandelwal29
+1 vote
0 votes
asked Jun 15, 2020 in C Plus Plus by Robindeniel
...