Code:
az = strtof(%s,NULL); //kompilerfehler %s
Was hast du dir gedacht, was das %s darstellen soll?

Code:
   float x;
...
   printf("\ndas ist der float %f", x);//falscher Wert
%f ist der Platzhalter für ein double, nicht für ein float.