fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int hoge = !NULL;
  6.  
  7. printf("hoge = %d\n", hoge);
  8. if (hoge != NULL) {
  9. printf("hoge != NULL\n");
  10. } else {
  11. printf("hoge == NULL\n");
  12. }
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0.01s 1720KB
stdin
Standard input is empty
stdout
hoge = 1
hoge != NULL