Question: 2. Write a function to enter a name read in from the user using scanf. Call this function in the test function one for a

2. Write a function to enter a name read in from the user using scanf. Call this function in the test function one for a first name and again for a last name. Store both names in separate buffers. Display both names in the test function. Use a define statement to set the maximum name size. void enter_name(char * cNamePtr, char * cPrompt) { } void test_enter_name() { }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
