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

The constitution reserves the power to provide for and supervise schools for A. The national government B. Only parents C. The states D. Private groups
on 2 Choose the item that uses a comma or commas correctly. If you come here when the moon is full the legend goes you can see the ghost of an old sailor walkin
What type of connections can readers make to texts? I. text-to-self II. text-to-test III. text-to-text A) I, II, and III B) I and II only C) II only D) I and II
Carbohydrates are needed by the body for
Dr. smith is interested in the effects of aging on heart function. he recruits a group of ten 40-year-olds and gathers blood levels of cholesterol and other fat
The area at the base of the neck between the front legs that covers the cranial end of the sternum is called the A. poll. B. barrel. C. brisket. D
Margie and four friends are eating lunch at a restaurant. The total bill is $52.50 before tax and tip. Margie has a coupon good for $10off their total purchase.
What is the value of x in the inequality? 7+2x/5 -3 a. x>-8/3 b. x<-8/3 c. x>8/3 d. x<-3/8
An electronic device that previously sold for $21 has been reduced to 17.43. the price reduction, rounded to the nearest whole percent is
What is the formula to calculate relative distance in algebra one