2077 1

C Programming207710 marksRecursive functions

Explain the role of function in programming. How function is declared, defined and called in C?Write a grogram to find factorial of 'n' using recursive function.[5+5]

Explain the role of function in programming. How function is declared, defined and called in C?Write a grogram to find factorial of 'n' using recursive function.[5+5]

--- (a) Role of Functions in Programming A function is a self-contained, named block of code that performs a specific task and can be called (invoked) from anywhere in the program. Role Description ------------------- Modularity Breaks a large, complex program into smaller, manageable sub-program...

Up nextWhat is an Identifier and keyword? Explain the rules for naming valid identifiers in C wit