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 is preserved by enabling graceful Routing Engine switchover (GRES)?A. control-plane stateB. link-state protocol adjacenciesC. interface and kernel informat
In which phase(s) will the lipophilic MCS precursor be predominantly found after the extraction step?The MCS precursor will:A. be found in the aqueous layer.B.
When a child has constipation, a teacher should do the following: Select one: A. Provide adequate hydration with juices. B. Substitute lactose-free milk or fort
When did the trend of saying 'Can I get...' instead of 'Could I have...' or 'May I have...' start and what caused it?
Na+H2O=2NaOH+H2 is it ballenced
What structure is found in plant cells but not in animal cells? a Cell membrane b Centrioles c Chloroplast d Nucleus
Stopping on an acceleration lane or on-ramp to an expressway can cause a rear end collision, a head on collision, or expressway traffic to stop
If there was only one real fireplace on board Titanic, what was installed in the other fireplaces on the ship?
The front desk user can use the POS Refund module to issue a refund from a last week's visit.a) trueb) false
BASIC CONSIDERATIONS in PLANTING OPERATION! ​