Question 11
#include <stdio.h>
int main()
{
int i;
for ( i=0; i<5; i++ )
{
int i = 10;
printf ( \"%d \", i );
i++;
}
return 0;
}
Question 12
Question 13
Question 14
Question 15
Question 16
int i ;
program main ()
{
int j = 60;
i = 50;
call f (i, j);
print i, j;
}
procedure f (x, y)
{
i = 100;
x = 10;
y = y + i ;
}
Question 17
What is the output of the following program?
#include int tmp=20; main( ) { printf("%d ",tmp); func( ); printf("%d ",tmp); } func( ) { static int tmp=10; printf("%d ",tmp); }
There are 17 questions to complete.