dannaasc5031 dannaasc5031
  • 25-07-2017
  • Mathematics
contestada

Write a function max that has two c string parameters and returns the larger of the two.

Respuesta :

Kalahira
Kalahira Kalahira
  • 02-08-2017
char max(char number1, char *number2){
if (strcmp(number1, number2) > 0)
return number1;
else
return number2;
}

Answer Link

Otras preguntas

99 points Fluorine, a nonmetal, has an Electronegativity value of 4.0, and Chlorine, a nonmetal, has a value of 3.0. The type of bond formed will be: ionic cova
When researching your perspective business, it’s most important that you know your product and your
Identify the underlined phrase in the sentence.(After several minutes), I finally located my car keys.a.prepositionalb.participialc.gerundd.infinitie​
Terrence randomly sampled 400 people and asked them if they prefer spring or fall. The results of his sample yielded an estimated population proportion of 43% w
What is the greatest common factor (GCF) of 80 and 100?
Which of the following do the British and German economies have in common? Select more than one answer. A. high wages due to investment in human capital B. a
What is the greatest common factor (GCF) of 80 and 100?
What is an expression that is equivalent to 5( y + 2)
Help me with my Spanish homework
I need help please????