1. What is program? What are the different steps of program development?
2. What
is algorithm? What are its various characteristics?
3. What
is preprocessor directive? Why it is required?
4. What
is syntax error and semantic error? Write at least two differences between
them.
5. Explain
different types of errors in C.
6. What
is the function of linker and loader? Explain.
7. What
are delimiters? Explain any two of them with their functions.
8. Draw
the basic structure of a C program.
9. Briefly
explain the general steps of writing a C program.
10. State
the series of steps for executing a program written in C.
11. What is compiler?
12. What
is header file in C? List any two header files.
13. What
are library functions? Give example.
14. What
is the significance of stdio.h?
15. What
is the difference between “stdio.h”
and “string.h”? Explain.
16. What
is the purpose of scanf() function?
17. What
is the difference between scanf()
and gets().
18. What
is keyword in C?
19. What
is the use of %d in C?
20. What
is the use of \t in C?
21. Mention how to write a comment in C?
22. What
is source code?
23. What
is data type?
24. What
is a variable? State the rules of declaring a variable.
25. Define
variable. Give example.
26. Write how a variable can be declared in C.
27. What
is global variable?
28. Differentiate
between local variable and global variable.
29. Write
a program to swap two numbers without using third variables.
30. Define
constant in C or define C constant.
31. What
is string constant? How string constant is differ from character constant.
32. What
is the difference between variable and constant?
33. Explain
data type.
34. Write
the difference between C character and C string.
35. What
does data type of a variable signify?
36. What
are the basic data types available in C?
37. Describe
the four basic data types in C.
38. What
is the size of int?
39. How
many bytes are occupied by long int?
40. How
many bytes of memory occupied by a variable declared as float?
41. How
does type float differ from double in C language?
42. Why
floating point numbers are not used for equality in expressions?
43. What
is the use of unsigned char?
44. What
is a null string?
45. Write
the use of null character.
46. What
is the use of “\n”?
47. What is an operator?
48. Briefly
explain the increment and decrement operators.
49. How does x++
differ from ++x?
50. State
the difference between “=” and “==” operator explain with example.
51. Briefly
explain about C operators with example.
52. Write
two relational operator and two logical operator.
53. What
is the difference between Relational operator and Logical operator? Explain.
54. What
do you mean by unary operators? Briefly explain the assignment operator,
arithmetic operators and logical operators.
55. Explain
the function of conditional operator?
56. If
a= -11 and b= -3, what is the value of a%b?
57. What
are the different types of Input/Output functions of C language? Explain them.
58. Explain
the concept of control structure in C. Give example.
59. What
is use of if statement?
60. Explain in brief the nested if statement.
61. What
is a flowchart?
62. Define flowchart?
63. Draw
the flowchart for maximum of two numbers.
64. Explain
switch statement.
65. Define
switch in C. Write a program using switch.
66. Write
the syntax of switch-case statement.
67. Explain
switch case statement with an example.
68. What
is the use of break keyword?
69. What
is the use of break statement?
70. What
is the use of continue statement. Give example
71. Differentiate
between break and continue.
72. What
is the use of goto statement?
73. Write the use of continue statement.
74. What
do you mean by looping? Explain the types of loop with syntax.
75. Write
two advantages of using loops. Describe the syntax of the ‘for’ loop.
76. Write
the difference between while and do while loop.
77. Differentiate
between while and do-while loop construct.
78. Define
array. How array is initialized in C?
79. What
is array? Why are arrays needed?
80. What
is an array? How an array is declared? Write a program in C to display the
largest and smallest element in an integer array.
81. How
an array of 10 integers declared and used in C.
82. Define
array. How two-dimensional array is initialize?
83. Differentiate
between one dimensional array and two dimensional arrays.
84. Write
a C program to insert an element at specific index position.
85. Explain
the stages in array initialization.
86. What
are the conditions that must be satisfied by all the elements of any given
array?
87. What
is structure? Explain the syntax of structure declaration with example.
88. What
is the difference between structure and union? What is the advantage of using
structure in C program?
89. What
is the advantage of using structure in C program?
90. What
is “sizeof” operator?
91.What
are the different storage classes of C?
92. Distinguish
between auto and register storage class.
93. Explain
storage classes in brief.
94. How
many types of storage classes does C supports? what is the necessity of each
95. What
is a static variable in C?
96. What
is a register variable in C?
97. Explain the scope of a variable in C.
98. Why
do we use #define in our program.
99. What is a pointer variable? State the
advantages of using pointer variable.
100. What
are the pointers? How to use pointers?
101. What
is a pointer? Give examples.
102. What
is pointer in C? How is a pointer initialized?
103. What is the difference between a and *a?
104. Write the advantage of using pointers.
105. What
is dangling pointer?
106. Is
multiplication of two different pointers possible? Give reason to support your
answer.
107. What
is function? What are the advantages of using function?
108. Write
name of two string functions.
109. Write
name of two math functions.
110. Write
the use of strcpy() function. Give example.
111. Write
the use of strlen () function.
112. Describe
the use of strlen() function with the help of an example.
113. Explain
the use of strcat function with example.
114. Explain
any three string functions in C.
115. Write any two string functions with their
actions.
116. State
any two string functions with their actions.
117. Write
down the advantages of function.
118. Explain
the concept and use of type void.
119. Define
void. When void is used in function?
120. What
are the major components of a function definition? Give example.
121. What is a formal parameter and actual
parameter?
122. What
is formal argument and actual argument?
123. What
is formal argument and actual argument in a C function? Explain with example.
124. What
is call by value and call by reference?
125. Differentiate
between call by value and call by reference.
126. What
is meant by call by value? Explain how it is different from call by reference.
Write C language program to support your answer.
127. What
is call by reference? Write a C program to swap two numbers using call by
reference.
128. Explain
in brief the concept of recursion. Give example.
129. What
is recursion? Write a C program to explain the benefits of using recursion.
130. What
is a recursive function? Explain with the help of an example.
131. Explain
the concept of recursive functions with an example.
132. Explain
the working principle of a recursive function with an example.
133. What
is the use of exit()?
134. Write
briefly about file handling in C language.
135. What
is append mode in file?
136. Explain
how the file open and file close functions handled in C.
137. What
is a file? Explain how the file open and file close functions.
138. Write
the use of fprintf() and fscanf().
139. Write
a C program read a text file and print the output.
140. What
is a command line argument? Explain its usage in C program.
141. What
do you mean by dynamic memory allocation? How it is implemented in C program?
142. Explain the following statements:
a. break
b. goto
c. switch
case
d. if-else
143. Briefly explain:
a. Data
types in C
b. Return
statement
c. Variables
144. Differentiate between the followings:
a. Built-in
function and User defined function
b. Call
by value and Call by reference
c. while
and do-while loop
d. If-else
and switch case
e. Break
and exit
f. Nesting
and Looping
g. Variable
and identifier
h. C character and C string
i. Break
and Continue
j. Increment
and decrement operators
k. getchar()
and getch()
l. Compiler
and Interpreter
m. Structure
and Union
145. Write short notes on the following:
a. Pre
increment and post increment
b. If-else
and switch statement
c. For
loop and while loop
0 Comments
if you have any doubts plz let me know...