#include <stdio.h>
main()
{
float valor;
printf("...");
scanf("%f", &valor);
printf("%0.2f", valor);
}
In scanf I should reference the pointer (memory space), since in printf this reference is not valid. What is the most consistent explanation?