(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
- Previous: (b) What is LEGV8 Architecture? In the 8086 processor, the code segment contains 4000H, and the instruction pointer contains 9F20H. Find…
- Next: (a) Explain the different domains of Artificial Intelligence (AI). (b) What is turing test in AI? How is machine learning related to AI?…
- All questions in BCS Technical Cadre (ICT) January 2024 – 45th BCS Written (BPSC)