Programming in C Language question Bank
1. What is C programming? [BCA-2016,2018,2019]
2. What are the features or characteristics of C? [BCA-2016,2018]
3. Why C is called a Mid-level programming language? [BCA-2016,2019]
4. Explain a brief history of C.
5. Explain the general structure of C. [BCA-2016,2018,2019]
6. Explain how can we execute a C program? [BCA-2016,2018,2019]
7. What are comments in c.
8. What is token? Explain different types of C token. [BCA 2018,2019]
9. Explain the term variable and constants. Explain the types of constants. [BCA 2017,2019]
10. Explain escape sequence characters. [BCA 2016,2018,2019]
11. What is Data Type? Explain various data types in C. [BCA-2016,2018.2019]
12. What is Operator? Explain various operators in C. [BCA-2016,2018,2019]
13. Explain different types of input/output functions with syntax.[BCA-2016,2018,2019]
14. Explain different types of Flow control or Control structure or statements in C. [BCA-
2016,2019]
15. Explain Decision Making or Control Statement. [BCA 2018]
16. Compare if-else with the ternary operator. [BCA 2017]
17. What is Loop? Explain all types of loops in C with an example. [BCA-2016,2017,2018]
18. Explain difference between entry controlled and exit controlled loops with suitable example.
[BCA 2019]
19. What are jump statements? Explain. [BCA-2016,2017,2018]
20. Write a program to check whether a number is perfect or not. [BCA-2018,2019]
21. Write a program to check a number is prime or not. [BCA 2016,2017]
22. Write a program to find factorial of a number.[BCA 2019]
23. What is an Array? How it is different from an ordinary variable? Discuss rules to declare a
one-dimensional array. [BCA-2016]
24. What do you mean by an Array? What are the different types of Array? Explain with
example.[BCA 2018]
25. What is two-dimensional array? How it is different from a one-dimensional array? Give
Syntax. [BCA 2019]
26. Write a program to find the sum of left and right diagonal elements of a square matrix/2D
array.[BCA 2016,2018]
27. Write a program to find the transpose of a square matrix of 3x3 order. [BCA 2019]
28. What is string? Explain all types of string functions with example.[BCA 2016,2017,2018]
29. Write a program to check a string is Palindrome or not. [BCA 2018]
30. Write a program to check vowels, Consonants and white spaces in a given text/string.
[BCA 2016,2017]
31. Explain various functions used for reading and writing strings.
32. Write a program to find the length of a string.[BCA 2019]
33. Write a program to compare two strings.
34. What is function? Explain the difference between user define and library functions.
[BCA 2018]
35. What is function? Explain at least two categories of function with example. [BCA 2019]
36. What is recursion/recursive function [BCA 2019]? Write a program to find the factorial of a
number using function recursion. [BCA 2016, 2018]
37. Explain /Differentiate call by value and call reference with example. [BCA 2016 ,2018,
2019]
38. Explain Scope, Visibility and Lifetime of a variable.[BCA 2019
39. What is a pointer? How they are initialized? Write a program to check prime number using a
pointer. [BCA 2018, 2019]
40. What is a pointer? What are its uses? Write a program to find the factorial of a number using
a pointer. [BCA 2016]
41. Explain the array of pointers. [BCA 2016]
42. Write a program to create the structure of a student having fields Roll, name, Marks. Input
records and displays them. [BCA 2016, 2018]
43. What is union? How it is different from structure? [BCA 2016, 2018,2019]
44. How the structure is different from an array? Explain the term ‘Array of Structure’ and
‘Nesting of structure’ with example. [BCA 2019]
45. Explain preprocessor directives. When do we use #define and #include? [BCA 2016, 2017]
46. Explain Macros. [BCA 2016]
47. Explain file handling functions. [BCA 2016 ,2018, 2019]