(a) Write a program to find the factorial of a number using recursion. (b) Write a C program to swap two numbers without using a third variable. (c)…

(a) Write a program to find the factorial of a number using recursion.

(b) Write a C program to swap two numbers without using a third variable.

(c) What is the difference of the following: getc(), getchar(), getch() and getche()?

From the BCS Technical Cadre (ICT) January 2024 – 45th BCS Written (BPSC) exam, question 7 of 10.

More from this paper