Question: Write a function declaration for a function named getFirst: a) Accept a word as an input parameter. b) Return the first letter of the word.
Write a function declaration for a function named getFirst:
a) Accept a word as an input parameter.
b) Return the first letter of the word.
2) Write a funtion call for the first function called "Hello".
Example
Given the argument "Hello" return 'H'.
C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
