









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










long int fact(); scanf(“%d”, &n); printf(“\n n! = %ld”, fact(n)); } long int fact(int m) { int i; long int prod = 1 ; if (m> 1 ) for (i= 2 ; i<=m; ++i) prod = prod* 1 ; return(prod); } In calling program contains the forward declaration: long int factorial(); (^10)
int modify (int a) { a = a* 3 ; printf(“\n a=%d (from the function, after being modified)”, a); return; }