Why aren't whitespaces in a strings not displayed? Does the scanf() function stop accepting values which lie after a whitespace?
For example:
My input:Code:int name[100]; printf("Whats your name?"); scanf("%s",&name);
Output:Code:Harry Potter
Code:Harry