

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


int recurse( int a, int b ) { int local = b - a; int result;
if ( a < 6 ) result = local + recurse( a + 1, b ); else result = local + 2;
printf( "%d\n", result );
return result; }
int a;
int main( int argc, char *argv[] ) {
int b; static int c = 404;
/* 1 */ (void) printf( "b --> %p\n", &b );
/* 2 */ (void) printf( "a --> %p\n", &a );
/* 3 */ (void) printf( "main --> %p\n", main );
/* 4 */ (void) printf( "argc --> %p\n", &argc );
/* 5 */ (void) printf( "malloc --> %p\n", malloc(50) );
/* 6 */ (void) printf( "c --> %p\n", &c ); }