pointers fixed
scanf specificators fixed