c program example Passing values between functions

Rate this post

c program example Passing values between functions

c program example function and value pass to function 1

c program example function and value pass to function 1

 

main( )
{
int i = 45, c ;
c = check ( i ) ;
printf ( “\n%d”, c ) ;
}
check ( int ch )
{
if ( ch >= 45 )
return ( 100 ) ;
else
return ( 10 * 10 ) ;
}

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