cgarman9649 cgarman9649
  • 07-08-2019
  • Computers and Technology
contestada

This function searches for the first occurence of a string inside another string.

Select one:

a. strchr()

b. strlen()

c. strcmp()

d. strcasecmp()

Respuesta :

Manetho
Manetho Manetho
  • 12-08-2019

Answer:

strchr()

Explanation:

Among the following options strchr() is the sring function that used to search for the  first occurence of a string inside  another string.

strlen() function is used to find the length of the string.

strcmp() is used to compare two strings and returns either 0 or 1.

strcasecomp() this function is used to compare the case of characters of two strings.

Answer Link

Otras preguntas

Which subatomic particle is negatively charged?1.electron2.neutrons3.positron4.proton
A gardener is planting two types of trees: Type A is 2 feet tall and grows at a rate of 17 inches per year. Type B is 7 feet tall and grows at a rate of 12 inc
Read the summary of paragraphs 10-12. Which statement BEST combines and shortens the sentences in this summary? (I can’t show the whole summary, since you can’t
Internet users in the Republic of China must adhere to strict Internet use policies. These strict policies reflect which characteristics of an unlimited governm
Find the measure of ∠T. A) 50° B) 54° C) 59° D) 60°
16.5% of 4,371 is how much?
Lucinda wants to build a square sandbox, but she has no way of measuring angles. Explain how she can make sure that the sandbox is square by only measuring leng
X^2-6x+9 factor the expression
Why was Woodrow Wilson initially opposed to U.S. involvement in WWI?​
I just need help with the second part. Please help!!!