-I know how to scanf a character but dont know how to scanf a string.
This is correct?

scantf("%f",lop);

-How to define the variable to save the string in?
string "lop";

Thanks,