Task 1Write a program that reads two strings from the command line. The usershould have the possibility of:a) Concatenating the two strings NOTE: Use strcat from the C library.b) Comparing two strings. Implement your own strcmp function.NOTE: It is not allowed to use any function from the C string library.Task 2Write a program that fills a 3×3 matrix with random numbers containing thevalues from 0 to 9. The program should print the generated matrix.Furthermore, the user should have the possibility to replace a certain numberinside the matrix. For example, if the user enters number two then allelements having the value two are replaced by a second entered number.In addition the program should print out all the positions of the elements thathave been replaced.The program should have a function for- the initialization of a matrix- printing a matrix- replacing the number(s) inside the matrixNOTE: The declared arrays should not be global.Task 3Write a program that has a structure called person with three membervariables (name, age and a customer ID number). Reserve memory for threepersons by using the malloc function. The program asks the user to enter thedata for three persons. After all data have been entered the program savesthe entered data in a text file.NOTE: Use the gets(….), or fgets(…) function to read the input of theuser.
You can hire someone to answer this question! Yes, assignist.com has paper writers, dedicated to completing research and summaries, critical thinking tasks, essays, coursework, and other homework tasks. Its fast and safe.