if I wanted to print out a phrase how would I go about doing that?
this code only allows me to print up until a space comes in to play. Do i have to incorporate some kind of loop?Code:int main() { char string[100]; printf("Enter Phrase\n"); scanf("%s",string); printf("%s\n", string); return 0; }