Challenge
Consider the following code snippet:
int i = 20; int j = 25; int k = ( i > j ) ? 10 : 5; if ( 5 < j - k ) { // First expression printf("The first expression is true."); } else if ( j > i ) { // Second expression printf("The second expression is true."); } else { printf("Neither expression is true."); }
What will be printed to the console?
Get Objective-C Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.