Some important question:
1. Define C programming language. What are its features?
2. What is C processor?
3. Define token, keyword/reserve word and identifier.
4. Define data type. Explain different types of data type.
5. Define variable and constant with its types.
6. Difference between variable and constant.
7. Define operator, operand and operation with its types and example.
8. Difference between scanf( ) and printf( ).
9. Define format / specifier /control string with its types.
10. Difference between gets( ) and puts( ).
11. WAP to enter salary then find out discount which is 15% of salary.
12. WAP to input radius and height then display volume of cylinder.
13. WAP to input initial velocity, time and acceleration then display distance travelled by a body.
14. WAP to input principal amount, rate and time then display simple interest.
15. WAP to read temperature in Fahrenheit then convert it into Celsius.
16. WAP to input seconds then convert it into hours, miles and seconds.
17. WAP to input nepali currency then convert it into Indian currency.
18. WAP to input 4-digit number then display sum of each digits.
19. WAP to input 3-digit integer then display its reverse.
20. WAP to input 5-digit number then display sum of first and last digit.
21. Define control structure with its types.
22. WAP to input year then display whether that year is leap year or not.
23. WAP to input any number then display whether that number is even or odd.
24. WAP to check whether a number is positive, negative or zero.
25. WAP to find whether the given number is divisible by 5 or not.
26. WAP to input KM then convert it into miles.
27. WAP to find largest number among three numbers.
28. WAP that takes marks of 5 subjects, calculate percentage then display division.
29. WAP to display first 10 natural numbers.
30. WAP to calculate factorial of a given number.
31. WAP to display Fibonacci series : 2 2 4 6………… upto 12th term.
32. WAP to display multiplication table of any number.
33. WAP to display series : 1 4 9 ………….upto nth term.
34. WAP to display sum of numbers from 1-100.
35. WAP to reverse the given integer.
36. WAP to input any integer then display the sum of its digits.
37. WAP to input any number then display whether that number is palindrome or not.
38. WAP to count and sum the number of odd and even digits present in the given
39. Difference between while and do……while loop.
40. Define for loop with syntax and example.
41. WAP to display following pattern:
a) 1 b) *****
12 ****
123 ***
1234 **
12345 *
42. Define break, continue & goto statement with example.
43. WAP to display all prime numbers from 1 to 100.
44. WAP to check whether that number is Armstrong or not.
45. Define array. What are its types with syntax.
46. WAP to input age of 10 students then count the numbers of students having age between 20-35.
47. WAP to find the largest number among nth term numbers entered by user.
48. WAP to find the smallest number among 10 numbers entered by user.
49. WAP to input nth numbers then sort them.( either ascending or descending as your wish).
50. WAP to input 2x3 matrix then display in transpose form i.e. in 3x2 matrixes.
51. WAP to input two 3x4 matrix, product them then display in proper format.
52. Difference between one-dimensional & multi-dimensional array.
53. Define string. Describe about all string related function with syntax.
54. WAP to input nth term string then sort them.( either ascending or descending as your wish).
55. WAP to input salary of 15 employees then count the number of employees getting salary between 5000-
10000.
56. WAP to find whether an entered string is palindrome or not.
57. WAP to count the number of vowels and consonants in a given string.
58. Define function with its types.
59. Difference between library & user-defined function.
60. WAP to all normal programs which are mention in above using function.
61. Define recursive function with example.
62. Difference between structure and union.
63. WAP to input author name, book name and price of 10 books then display record on screen using structure.
64. WAP to accept student data as name, age, class, faculty and percentage of 15 students then display them.
65. Define sizeof operator with syntax.
66. Define pointer with its features.
67. Write about address (&) and indirection (*) operator with example.
68. WAP to calculate the sum of two numbers using pointer variable.
69. WAP to calculate factorial of given number using pointer variable.
70. Difference between array and pointer.
71. WAP to input any number then display even or odd using pointer.
72. Define call by value & call by reference with suitable example.
73. Define file. List out different types of function used in file handling.
74. Define EOF.
75. WAP to write & read roll number, name and percentage of a students to/from data file name "[Link]" .
76. WAP to create a data file name "[Link]" then write roll number, first name, last name and class of a
student to a file.
77. WAP to read a data file name "[Link]" then write roll number, first name, last name and class of a
student to a file.
78. WAP to write roll number, name & percentage of 5 students to a file "[Link]".
79. WAP to read roll number, name, percentage and age of 5 students to a file "[Link]".
80. WAP to write and read a record to/from a data file named "[Link]" that contains employee ID, name
and salary of employee.
81. WAP to store roll no, name and percentage of a students to a data file name "[Link]".
82. WAP that stores roll number, name and percentage of a student to a data file until you press y-yes and
finally display the content of the data file.
83. Write short notes on sequential and random file processing.
84. Write the uses and syntax of ftell( ), rewind( ), fseek( ), remove( ) and rename( ).
85. WAP to delete and rename data file using remove and rename function.
*Best of Luck*