#include int main() { int *p; p = NULL; printf ("The value of the pointer is %p\n", p); printf ("The value of the pointer is %d\n", p); p = 0; printf ("The value of the pointer is %p\n", p); printf ("The value of the pointer is %d\n", p); if ( p ) { printf("p is now true\n"); } else { printf("p is now false\n"); } int i = 3; p = &i; if ( p ) { printf("p is now true\n"); } else { printf("p is now false\n"); } // Any integer other than 0 is true if ( 1 ) { printf("1 is true\n"); } else { printf("1 is false\n"); } if ( 0 ) { printf("0 is true\n"); } else { printf("0 is false\n"); } return 0; }