Hey.

Suppose I want to scanf an int - here it doesn't work if I just do:

Code:
int in;
scanf("%i", &in);
Why is it?
What's the difference between that and:

Code:
float f;
scanf("%f", &f);
Thanks in advance.