Attachment '20.0.1.c'

Download

   1 #include <stdio.h>
   2 
   3 int x=8; 
   4 
   5 int f (int y)
   6 {
   7     x = 10;
   8     return y*y;
   9 }
  10 
  11 int main (int argc, char **argv)
  12 {
  13    {int x = 7;}
  14    /*printf( "%d, %d\n", f(x), x );*/
  15    int c = f(x);
  16    printf( "%d,", c );
  17    printf( "%d\n", x );
  18    
  19    return 0;
  20 }

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.

You are not allowed to attach a file to this page.