Question #64576

main( )
{
int i = 20 ;
display ( i ) ;
}

display ( int j )
{
int k = 35 ;
printf ( "\n%d", j ) ;
printf ( "\n%d", k ) ;
}
what is the output of this program??

Expert's answer

If we correct the errors (no return type for functions) output will be:

20
35
LATEST TUTORIALS
APPROVED BY CLIENTS