In C, the value nonzero is true while zero is taken as false : True False « Data Type « C Tutorial






#include <stdio.h>
main(){
  int i = 3;
  if(i){
     printf(" i is nonzero. \n");
  }   
}
#include <stdio.h>
main(){
  int i = 0;
  if(i){
     printf(" i is nonzero. \n");
  }else{
     printf("i = 0");
  }
}
i = 0








2.28.True False
2.28.1.In C, the value nonzero is true while zero is taken as false