Write a program that prompts the user to input their first namefrom the keyboard and stores them in the variable \"firstName\". Itdoes the same for last name and stores it in the variable\"lastName\". It then uses strcat to merge the two names, separatesthem by a space and stores the full name into a string variablecalled \"fullName\". In the end, the program must print out thestring stored within fullName. ANSWER IN C LANGUAGE!
You may use the following declarations for this problem:
char firstName [50];
char lastName [50];
char fullName [50];
You *must* use the function below to print out the fullname:
void printName(char fullName[])
Changing the function or its parameters is not permitted.
======================
Sample Output:
======================
Please enter your first name: John
Please enter your last name: Wick
Your full name is John Wick