in C Plus Plus by (515 points)
What is the output of this C code?

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

Related questions

+1 vote
asked Jun 13, 2019 in C Plus Plus by Derya (515 points)
+1 vote
asked Jun 13, 2019 in C Plus Plus by Derya (515 points)
+1 vote
0 votes
asked Jun 11, 2020 in C Plus Plus by Robindeniel (20.8k points)
0 votes
asked Jun 15, 2020 in C Plus Plus by Robindeniel (20.8k points)
0 votes
0 votes
0 votes
asked Jun 15, 2020 in C Plus Plus by Robindeniel (20.8k points)
...