Question: What is the output of the below program with input 3 #include int fonksiyon ( int gln ) { if( gln
What is the output of the below program with input 3
#include
int fonksiyon ( int gln ) {
if( gln <= 1 )
return 1;
else return (gln*fonksiyon(gln 1)); }
int main ( void ) { int k,N,f; puts(Enter an integer: );
scanf ( %d , &N );
f= fonksiyon(N);
printf(Result is=%d , f );
return 0 ;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
