Link to home
Start Free TrialLog in
Avatar of bingie
bingie

asked on

What is this syntax?

Came accross this syntax, never seen it before. What does it do?

double fakeFunction(double x1, double x2){
   return(x1 < x2) ? x2 : x1;
}

Thanks :)
ASKER CERTIFIED SOLUTION
Avatar of BenMorel
BenMorel

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial