Card 10 / 15: What will be the value of x after the execution of the following line? int x = (7>6 ? 1+8 : 8)
A)
6
B)
7
C)
1
D)
8
E)
9
Answer:
E) 9
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Foundations of Software Engineering
Author:
Prof.Kevin AmaratungaProfessor
MIT Massachusetts Institute of Technology
USA
Access: |