I'm a University student and I'm trying to verify different printf output through the following code:
#include <stdio.h>
int main()
{
int i=3,j=0;
float x=5,y;
printf("1: %d\n", i);
printf("2: %d\n", i/j);
printf("3: %d\n", i*i);
printf("4: i = \n");
i=i + j;
printf("6: %f\n", x/y);
printf("7: x = %f\n");
printf("8: %d\n", i/2);
printf("9: %f", x/2) ;
return 0;
}
In the execution phase, after the first output printf("1: %d\n", i);
, I don't get anything in the terminal.
Any idea? (no compiling error)