#include #include int *int_ptr; char *str_ptr; int main(int argc, char *argv[]) { int i = 4; int_ptr = &i; printf("i= %d\n", i); printf("*int_ptr= %d\n", *int_ptr); #ifdef DEBUG printf("got here\n"); #endif printf("&i= %p\n", &i); printf("int_ptr= %p\n", int_ptr); #ifdef DEBUG printf("got here 2\n"); #endif str_ptr[0] = 'h'; str_ptr[1] = 'e'; str_ptr[2] = 'l'; str_ptr[3] = 'l'; str_ptr[4] = 'o'; str_ptr[5] = 0; #ifdef DEBUG printf("got here 3\n"); #endif }