My C Quiz

The ultimate place to learn C!

Question #17: What value gets printed by the program below?

int w = 3;
int x = 31;
int y = 10;
double z =  x / y % w;
printf("%f\n", z);