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

You have just been approved for a 30 year 6.0% fixed home mortgage. The monthly payment that you qualify for is $1112.10 .Determine the price of a home that can
The "I" in the chapter anticipates a trip to rass island, which is located on the bay
Why did Buddhism become popular in India? plz help write with detail will mark brainliest
What is the domain of this relation? {(0, 5), (2, 3), (1, -4), (-3, 3), (-1, -2)}
The function y=3.5x+2.8 represents the cost in y ( dollars ) of a taxi ride of x miles. You have enough money to travel at most 20 miles in the taxi. Find the d
How do I find a percent out f three numbers that are not percents
Which of the following activities does not occur in perception?
Angel entered a triathlon. He ran 10 miles, rode his bike 30 miles, and swam 1 mile. how far did he go altogether?
What is the speed of a jet plane that travels 528 meters in 4 seconds?
Which of the following phrases should never be used in an essay? On the contrary.. Likewise... This paper will show you... Research proves...