Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

What does x = (a

x = (a < b)? a : b; 
// This is equivalent to the code:

if (a < b){
  x = a; // true
}else{
  x = b; // false
} 
 
PREVIOUS NEXT
Tagged: #What #C
ADD COMMENT
Topic
Name
1+9 =