Question: short form name : write a C program that creates a structure myname that has two data members , both strings of 20 characters, called

short form name : write a C program that
creates a structure myname that has two data members , both strings of 20 characters, called first_name and last_ name.
has a functional that makes takes a structure of type myname as a parameter and outputs the name as initial. last name.
has a main function that asks the user to input their first and last name, creates the structure, and then calls the function to output their name in the form initial. lastname
example;
enter first name: Max
enter last name: Powers
output is M. Powers
please not that this question tests your ability to create a structure and write a function for it. If you dp not use these, you will lose 5 points.

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!