One line if statement:
int x = 23;
int y = 45;
NSLog(@"Largest number is %i", x > y ? x : y );
// logs: Largest number is 45
No comments:
Post a Comment