

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Solutions to quiz 4 of the cs30 course offered in spring 2010. It covers topics such as sparc architecture, fixed-point and floating-point conversions, and the c runtime environment.
Typology: Quizzes
1 / 2
This page cannot be seen from the preview
Don't miss anything!


int a = 420; static void fubar( int b ) { static int c; int *d = &b; ... }
int mystery( int param ) { int local = 5;
if ( local < param ) { local = local + param; printf( "%d\n", local ); /* Output the value of local followed by a newline / param = mystery( param - 2 ) + local; printf( "%d\n", param ); / Output the value of param followed by a newline */ } else { printf( "Stop\n" ); }
return local; }