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

Scientists refer to half of the planets as inner planets because they are relatively close to the Sun. They refer to the other half as outer planets. Using the
Need help with this please
Is this a 3-4th fraction
which shows the correct substitution of the values a b and c from the equation 0=1/2x^2-3x-2
Complete the equation of the line through ( − 1 0 , − 7 ) (−10,−7) and ( − 5 , − 9 ) (−5,−9).
what is the slope of the equation y=18x+24
How do Armenia and Georgia differ from the countries of Central Asia?
Briefly describe the changes that Confucius’ ideas led to in India with Buddhism and Hinduism. Thank you!
Find the area of a square with a side measure of 3x − 6 feet. Question 5 options: 9x2−36x+36 sq. ft. 9x2−6 sq. ft. 9x2+36x+36 sq. ft. 9x2+36 sq. ft.
how to reduce fractions