What does this program print?

from C fundamentals
C23 (GCC 13.3.0) beginner 2 min

What does this program print?

C
#include <stdio.h>

int main(void) {
    printf("%d %.1f\n", 7 / 2, 7 / 2.0);
    return 0;
}
Open in playground
Report an error