User Tools

Site Tools


cs:c_language:c99
Return to Home page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cs:c_language:c99 [2016/03/03 11:32]
zioskenz
cs:c_language:c99 [2016/03/03 11:34]
zioskenz
Line 322: Line 322:
  
 By including the header ''​stdbool.h''​ the constants ''​true''​ and ''​false''​ are defined. By including the header ''​stdbool.h''​ the constants ''​true''​ and ''​false''​ are defined.
-casting: (bool)0.5 evaluates to ''​true'',​ whereas (int)0.5 evaluates to ​''​0''​ (''​false''​).+ 
 +Casting''​(bool)0.5'' ​evaluates to ''​true'',​ whereas ​''​(int)0.5'' ​evaluates to ​''​0''​ (''​false''​).
  
 The language guarantees that any two true values will compare equal (which was impossible to achieve before the introduction of the type) The language guarantees that any two true values will compare equal (which was impossible to achieve before the introduction of the type)

If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at] skenz.it

You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url: https://www.skenz.it/cs/c_language/c99?do=diff&rev2%5B0%5D=1457001162&rev2%5B1%5D=1457001284&difftype=sidebyside
/web/htdocs/www.skenz.it/home/data/pages/cs/c_language/c99.txt · Last modified: 2019/02/26 14:35 (external edit)

Privacy Policy