Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Booleans and the unterlying type
#6
I do not understand how Rule 12.6 influences type casting: it mainly forbids the mixture of Boolean and arithmetic expressions. However, since ANSI-C:1990 does not define a Boolean type, Booleans are represented by arithmetic types and are therefore subject to the rules 10.x.
<r>Gunter Blache<br/>
<br/>
ETAS GmbH<br/>
PSW<br/>
Global Operations<br/>
Borsigstraße 14<br/>
70469 Stuttgart<br/>
Phone +49 711 89661-159<br/>
Fax +49 711 89661-330<br/>
<br/>
<URL url="http://www.etasgroup.com">http://www.etasgroup.com</URL></r>
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)