Professional Documents
Culture Documents
Technical Questions
C Language:
1. What is C?
2. What are the features of C language?
3. Who developed C language?
4. What are various versions of C language?
5. What do you mean by a compiler, linker and loader?
6. What are the various steps involved in executing a C program?
7. What are the files created while executing a C Program?
8. What is an identifier and what are the rules used to construct identifiers?
9. What is a keyword? How many numbers of keywords are there?
10. What is a variable?
11. How to declare and initialize a variable?
12. What is a token and list out some examples of tokens?
13. How to include comments in C?
14. What is the full form of <conio.h> and for what this header file is used?
15. What are the different kinds of data types in C?
16. What are the different types of type qualifiers or type modifiers?
17. Which are called signed qualifiers and unsigned qualifiers?
18. What are the different types of constants in C?
19. What is the minimum and maximum values range of integers?
20. What is the minimum and maximum values range of floats?
21. What is the memory size of long int and short int variables?
22. What is a symbolic constant and how it is defined?
23. What is the importance of const keyword?
24. What are the different types of operators available in C?
25. List out the symbols of arithmetic operators?
26. List out the symbols of relational operators?
27. List out the symbols of logical operators?
28. List out the symbols of assignment operators?
29. List out the symbols of bitwise operators?
30. List out the symbol of conditional operator?
31. List out the symbols of increment and decrement operators?
32. What is a unary operator and give examples of unary operators?
33. What is a binary operator and give examples of binary operator?
34. What is a ternary operator and give examples of ternary operator?
C, DS, C++ Page 2 of 8 Technical Questions By K V Ramana
140. What is the importance of bit-fields and how to represent bit-fields inside a
structure?
141. What are the differences between structure and union?
142. What do you mean by command-line arguments?
143. What is argc and argv?
144. What is a file?
145. List out differences between text file and binary file?
146. What are the various states of a file?
147. How to open and close a file?
148. List out different types of file input-output functions?
149. What are the various file status functions?
150. What are the various file positioning functions?
151. What are the various system file operations?
Data Structures:
152. What is searching?
153. What are various searching techniques?
154. Discuss the procedure of liner search with an example?
155. Discuss the procedure of binary search with an example?
156. What do you mean by sorting?
157. What are the various sorting techniques?
158. Discuss the procedure of bubble sort with an example?
159. Discuss the procedure of selection sort with an example?
160. What is a data structure?
161. What are the different types of data structures?
162. What do you mean by linear and non-linear data structures?
163. What is a stack?
164. What is principle of a stack?
165. What are the operations performed on stack?
166. Differences between stack and array?
C++:
211. What are the differences between C and C++?
212. What is C++?
213. What is the comment symbol used in C++ and what it is called?
214. What is the need of Object oriented programming languages.
215. What are the disadvantages in Procedure oriented programming languages.
216. What are the differences between procedure oriented programming languages
and object oriented programming languages.
217. What are the Basic Object Oriented programming principles?
218. What are the differences between a structure and a class?
219. What is abstraction?
220. What is a class?
221. What is an object?
222. What is Encapsulation?
223. What is Inheritance?
224. What is polymorphism?
225. What is function Overloading and its advantage?
226. What are reference parameters?
227. What is the importance of Scope resolution operator(::)
228. What is inline function and its advantage.
229. What is friend function and its advantage?
230. What are default arguments in function and its advantage?
231. What is the importance of new and delete operators?
232. What are the differences between malloc() and new.
233. What is syntax to define a class?
234. What are the visibility labels or access specifiers in C++?
235. What is the difference between private and protected?
236. What are the characteristics of static data members?
237. What is a constructor and its use?
238. When the constructor will be called?
239. What is a destructor and its use?
240. When the destructor will be called?
241. What is Constructor overloading?
242. What is the importance of Copy constructor?
243. What is operator overloading?
244. What are the operators cannot overload?
C, DS, C++ Page 8 of 8 Technical Questions By K V Ramana
245. While overloading unary operator, how many arguments u have to write in
operator overloading function, it is member function?
246. While overloading unary operator, how many arguments u have to write in
operator overloading function, it is friend function?
247. While overloading binary operator, how many arguments u have to write in
operator overloading function, it is member function?
248. While overloading binary operator, how many arguments u have to write in
operator overloading function, it is friend function?
249. What are the different types of access specifiers or visibility labels?
250. What is the importance of protected in inheritance?
251. Explain about public, private and protected?
252. What are the differences between private and protected?
253. What are different forms of inheritance?
254. How to make private members inheritable?
255. What is the importance of inheritance?
256. What is multiple inheritance?
257. What is multilevel inheritance?
258. What is an abstract class?
259. What is virtual base class?
260. What is polymorphism and the types of polymorphism?
261. Differences between function overloading and function overriding?
262. What is virtual function?
263. What is pure virtual function?
264. What are the manipulators in C++?
265. What is a template and different types templates?
266. What is function template and Class template?
267. What is exception? Explain some exceptions?
268. What is the importance of try, catch, throw constructs.