C program to print first letter of string

C program to print first letter of string

Output:

Enter the string to print its first character:
www.coderegister.co.in
The first character of the string www.coderegister.co.in is 'w'

Implementation: