Answer to Question #69260 in C for Sunny chakma
Question #69260
Find the output or errors:
main () {
int j i = 65 ;
printf ( "\nji >=65 ? %d : %c" , j i ) ;
}
main () {
int j i = 65 ;
printf ( "\nji >=65 ? %d : %c" , j i ) ;
}
Expert's answer
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.
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.
Need a fast expert's response?
Submit orderand get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment