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

Describe the geometric meaning of the following mappings in spherical coordinates. (a) (rho, θ, ϕ) ↦ (rho, θ + π, ϕ) (i)-There is a rotation by π around th
which situational condition decreases the chances of crimes?
At 5:00 am, the temperature is 48 degrees degrees. At 2:00 pm, the temperature is 72 degrees. Find the rate of change in degrees per hour during this time.
Homogeneous materials contain visibly different materials. True or False
A recent study reports that only 34% of Americans consume their daily recommended intake of fiber. A nutritionist takes a SRS of 45 individuals who come to her
PLZ answer with shown proof answer number 9 please
How many people were linked to HIV care? 874,056 437,028 655,542 262,217
2. Find the volume of a triangle with side lengths 3, 4, and 5.
Which sti has a strong link to cancer
what is the equation in slope intercept form for the line that passes through (-1,-10), parallel to y=7