Card 4 / 15: Which of the following cases of mixed expressions is/are correct (circle the correct one(s)), considering the following definition: double d; float f; int i; char c;
A)
’f’ - ’d’ is a double
B)
f / 3.33 is a float
C)
’f’ - ’d’ is an int
D)
’f’ - ’d’ is a char
E)
none of the above
Answer:
C) ’f’ - ’d’ is an int
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: |