babythebaddest7873 babythebaddest7873
  • 08-01-2020
  • Computers and Technology
contestada

Write a function named intro that takes a string as input.

Given the string "Becky" as input, the function should return: "Hello, my name is Becky and I love SI 106."

Respuesta :

GrandNecro
GrandNecro GrandNecro
  • 08-01-2020

Answer:

View Image

Explanation:

Import string.h to use strcat().

Create a buffer to store user input and the returned string value.

You need to return a string so the function must be a pointer of type char.

You need to use the function strcat() to concatenate the two strings together. It's not easy as python where you can just add strings together.

Ver imagen GrandNecro
Ver imagen GrandNecro
Answer Link

Otras preguntas

Please help me find x.
4 socio economic factors that could be considered for career and study choices
To the Doctor who treated the raped baby and who felt such despair poem, in which ways is the title unusual?
Can someone please tell me how many faces,edges and vertices this 3D prism has ?
If you do not respect someone ______. a. They have not earned it b. They will not respect you c. They have to work harder d. They are unable to improve
How many weeks does a normal human pregnancy last?
On the celcius scale water freezes at what
What is the sum of the measures of the interior angles of an 11-gon? A. 1980° B. 1620° C. 1800° D. 2340°
Identify the type of sentence. I'm getting hungry and because it's nearly noon, I'm going to eat lunch. simple sentence compound sentence complex sentence compo
How did rivers play a role in the settlement of the west?