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

What was the nickname of breakdancer Richard Colon
Which word or phrase best completes the sentence? L'été dernier, j'ai assisté au J'ai appris à préparer des gâteaux A. cours de poterie B. jet skiing C. cours d
one push factor that increased immigration from Central America and the carribean to the united states was
Match each career path with the CTSO that can help further the goals for that path.
Which pairs of angles in the figure below are verticle angles? Check all that apply.
What is formed from nuclear decay?
This circle is centered at the origin, and the length of its radius is 6. What is the circle's equation? A. x2 + y2 = 36 B. x2 + y2 = 6 C. x+y= 36 D. x + y = 1
the main difference between a nation and state is that a nation is​
Nonmedical people receive income from ___ . Select all that apply. PLEASE HELP
in order to graph a linear equation in slope-interceot form, what do you need to know? what does the equation look like when the y-intercept of the line is equa