printf function int to %f , float to %d trying to experiment
#include<stdio.h>
int main(){
int i=10;
float x=43.2892f;
printf("i=%f x=%d \n",i,x);
return 0;
}
OUTPUT:
i=43.289200 x=10
Need help to understand why these variables are interchanging ?