What wound be output of the following c program of function and pointer

Rate this post

What wound be output of the following c program of function and pointer

What would be the output of the following programs:

 

main( )
{
int i = 5, j = 2 ;
junk ( &i, &j ) ;
printf ( “\n%d %d”, i, j ) ;
}
junk ( int *i, int *j )
{
*i = *i * *i ;
*j = *j * *j ;
}

c program example function pointer
c program example function pointer
For any query or issue, feel free to discuss on http://discuss.eduguru.in
%d bloggers like this: