Print the characters of String with space
Get a String and Prints it characters with Space
H e l l o
int i = 0;
Get a String using fgets() function.
Str -> reads the string and stores it in str.
50 -> reads maximum of 50 characters
stdin-> reads character from keyboard
using for loop print all characters one by one.
"%c " in printf prints character with space.