I'm trying to print a string stored in a char* variable. The contents are coming out correctly except that there's funny ASCII symbols printed at the end......
Variable: char* temp;
Reading: scanf("%s",&temp);
Printing: printf("%s",&temp);
What am I doing wrong?