November 2013
Beginner
325 pages
9h 47m
English
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?
Read now
Unlock full access