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

PLEASE DO SKIP ANSWER ITS SUPER EASY I NEED I HAVE 10 PTS .... What poetic device is being used in these lines from the poem "Nothing Gold Can Stay"? So Eden
Which phrase from the Declaration of Independence is about the importance of natural rights? A. "That among these are Life, Liberty, and the Pursuit of Happines
Identify the radicand in the radical below
I'm making an ice cream caramel cake for a birthday, do you have any ice cream cake recipes.
6) This was the large movement of African Americans from the Southern U.S. to the Northern U.S. in the early-20th century.
Add the following decimals. a. 12.8 + 27.38 + 0.562 b. 13.46 + 5.003 + 0.0321 c. 0.952+ 1.57 + 0.803 d. 43 + 2.386 + 3.74 e. 13.678 + 52.04 + 5.276 + 0.63 f. 0.
Write an expression for the sequence of operations described below⤵️ ➡️Multiply s by the quotient of t and u ⏺Do not simplify any part of the expression.
Review the detail. In "To Build a Fire," the man lacks respect for the old-timer's warnings. Which best explains how this action contributes to the story's main
How did you do this
The measure of angle KMJ??