Find the output or errors:
main () {
int j i = 65 ;
printf ( "\nji >=65 ? %d : %c" , j i ) ;
}
1
Expert's answer
2017-07-17T12:36:06-0400
There are two problems: 1) Variable “j i” there should not be a space between two letters. 2) You are not allowed to use ternary operator between quotes. If you do so, program will interpret it as a string.
Comments
Leave a comment