First i want to know whats the difference between scanf(); and getchar();
second can anyone please write 2 examples, 1 with getchar/putchar and one with scanf which would take a name and print it all. i was able to do it with getchar/putchar but it printed only the first letter of the name.
Thanks!