Easy
Integer division and modulo with a negative operand
What does this program print, under C++11 and later?
main.cpp
#include <cstdio>
int main() {
int q = -7 / 2;
int r = -7 % 2;
printf("%d\n", q);
printf("%d\n", r);
}79 of 117 in C++