C Tutorial/Data Type/True False
Версия от 17:21, 25 мая 2010; (обсуждение)
In C, the value nonzero is true while zero is taken as false
<source lang="cpp">#include <stdio.h> main(){
int i = 3; if(i){ printf(" i is nonzero. \n"); }
}</source>
<source lang="cpp">#include <stdio.h> main(){
int i = 3; if(i){ printf(" i is nonzero. \n"); }
}</source>