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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!