Beginner here. How would I print out the first letter of last name.
Last name: Khan
on the console, I want to print it out as "K" only.
@fahmankhan75 Strings and cstrings( character arrays ) work the same. You can access the first element ( first letter ) by using the operator so you would call it like this