问题描述:
some question about C++
Hallo Everyone
Ich habe here some questions about C++.
What do the following Statements mean?
a) 7 / (double)2
b) (int) 14.0 / 5
c) (double)(7/3)
d) (int) (19.0/10) and
a) true && false
b) true && (true || false)
c) (5.1 < 3.1) && (3.1 < 12.3)
d) (9 % 2) || 9 % 3
Thanks for the answers!
Hallo Everyone
Ich habe here some questions about C++.
What do the following Statements mean?
a) 7 / (double)2
b) (int) 14.0 / 5
c) (double)(7/3)
d) (int) (19.0/10) and
a) true && false
b) true && (true || false)
c) (5.1 < 3.1) && (3.1 < 12.3)
d) (9 % 2) || 9 % 3
Thanks for the answers!
问题解答:
我来补答展开全文阅读