Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <conio.h>
- int main(void)
- {
- char name[30];
- printf("Type your namen");
- scanf("%10[0-9a-zA-Z]", name);
- printf("%sn", name);
- return 0;
- }
- C:Usershackr>g++ -o whitespace.exe whitespace.c
- C:Usershackr>whitespace.exe
- Type your name
- John Doe
- John
- C:Usershackr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement