Program to print the first character of each word

Let’s see a program to print the first character of each word.

Output is:-

m
n
i
a

 

Top