Question Bank
Question Bank
1. Who is the founder of the C language? When was the C language developed?
27. How matrix is represented in C language. Write a program to add two matrixes.
28. What is pointer? What do you understand by pointer arithmetic?
30. What is the difference between library functions and user-defined functions?
31. Write a program in C to find the square of any number using the function by using
(a) No Argument no return Value
(b) With Argument and with return value
32. Write some properties and advantages of user defined functions in C?
33. Explain the Parameter Passing Mechanisms in C-Language with examples Differentiate
actual parameters and formal parameters.
34. Write a program addition of two matrix.
35. What is recursive function? Explain with example
36. What is pointer in c programming? What are its benefits?
37. Explain the process of declaring and initializing pointers. Give an example.
38. Write a C program for exchanging of two numbers using call by reference mechanism
39. What is functional programming? Explain merits & demerits of functional programming.
40. What are actual & formal parameters? Explain with the help of an example.
41. What is global & local variable? Explain with the help of an example.
42. How do you pass an array to a function? Write a program to compute average of n
numbers stored into array. Use functional approach.
43. What is recursion? Explain with the help of an example.
44. Write program to find factorial of a number using functional approach
• Using non recursion/iteration.
• Using recursion.
45. Write program to find HCF/GCD of two numbers using functional approach
• Using non recursion/iteration.
• Using recursion.
57. How do you create an array of pointers in C? Provide as example of using an array of
pointers.
58. What do you meant by file handling? What are the different operations performed on files?
Explain with example. How to open and close a file in C?
59. Create a structure named Book to store book details like title, author, and price. Write a C
program that read/write details of books into a binary file.
60. What is the use of pointers in data structures?