C Programming Interview Questions – Basics To Advanced

C Programming Interview Questions Techhyme

The C programming language was developed between 1969 and 1973 by Dennis Ritchie at Bell Labs. He uses this new programming language to re implement the UNIX operating system.

Also Read: List of C Language Programs for Beginners

C is a high-level structured oriented programming language used for general purpose programming needs. Basically, C is a collection of its library functions. The main uses of the C programming language include language compilers, operating systems, assemblers, text editors, print spoolers, network drivers, modern programs, data bases, language interpreters, and utilities.

Below is the list of most common C Programming Interview Questions:

  1. Explain different steps in problem solving ?
  2. What is an algorithm ? Explain steps for making an algorithm.
  3. Explain the significance of algorithm.
  4. Explain flow chart along with various symbols used in flow charts.
  5. Write difference between algorithm and flowchart.
  6. Make an algorithm to find roots of quadratic equation ?
  7. Write advantages of an algorithm ?
  8. Write advantages of Flow-chart ?
  9. Explain features of C language ?
  10. Why C is known as structural programming language ?
  11. Write C character set ?
  12. Is C a case-sensitive language ? Explain.
  13. What is a variable ? Explain rules of creating variables ?
  14. Explain data types available in C language.
  15. Write difference between variable and constant ?
  16. What are keywords ?
  17. Define Identifiers ?
  18. What is escape sequence ? Explain with the help of examples ?
  19. Explain types of input output functions in C language ?
  20. What is nested printf () functions ?
  21. What is the difference between getch (), getche (), getchar ().
  22. What are format input output functions.
  23. Explain different format specifiers ?
  24. Why puts () and gets () are used and how ?
  25. Explain all the operators available in C language ?
  26. What are unary operators ?
  27. What are binary operators ?
  28. What are arithmetic operators ? Explain.
  29. Explain relational operators and logical operators.
  30. Explain operator precedence and their associativity ?
  31. Explain difference between pre-increment and post-increment ?
  32. Explain arithmetic,relational and logical expressions ?
  33. What are assignment operators ? Explain.
  34. What is type conversion ? Explain its type ?
  35. What are library functions ?
  36. Explain bitwise operators in detail along with examples ?
  37. Explain relational and logical operators with the help of example ?
  38. Explain conditional control statements with the help of examples.
  39. What is nested if statement ? Give examples ?
  40. What is switch-case-default statement ? Write syntax ?
  41. What are conditional operators ? Explain.
  42. Why conditional operators are also known as ternary operators.
  43. Explain difference between if and switch-case default statement.
  44. Explain iterative or looping control structures available in C-language ?
  45. Write difference between while loop and do-while loop ?
  46. What is for loop ?
  47. Explain nested loops ?
  48. What is do-while loop ?
  49. What are infinite loops ?
  50. Explain various jumping control statements along with examples ?
  51. Explain difference between break and continue ?
  52. What is goto statement ?
  53. Write all the palindrome numbers from 1 to 500.
  54. What is pointer ? How it is declared ? Explain.
  55. What is void datatype ?
  56. Explain call by reference ?
  57. Explain pointer to pointer.
  58. Explain with the help of example how function returns a pointer.
  59. Write uses of pointer.
  60. Explain all storage classes available in C language with the help of examples ?
  61. Write difference between automatic and static variables ?
  62. What are external variables ?
  63. What do you mean by storage class modifiers ? Explain ?
  64. How local variables are different from global variables ?
  65. What is the default storage class of a variable ?
  66. What are arrays ? How they are created ? Explain with the help of example ?
  67. What do you mean by array of pointers ?
  68. How arrays can be passed through functions.
  69. Write disadvantages of an array ?
  70. What is two dimensional array ? Explain with the help of examples ?
  71. What is a string ? How it is declared ?
  72. Why puts() and gets() is used in string ?
  73. Explain strcat () function.
  74. Explain different types of pre-defined functions used in string.
  75. What is array of strings ?
  76. What are user-defined datatypes ? Explain.
  77. What is a structure ? Write the syntax of structure with the help of examples ?
  78. What are the uses of structure ?
  79. Explain arrays of structure.
  80. Write difference between array and structure ?
  81. What is union ? Explain with the help of examples ?
  82. Write difference between array and union.
  83. Explain nested structures ?
  84. What is self-referential structure ?
  85. Explain enumeration with the help of example ?
  86. Explain type def.
  87. Explain arrays pointer.
  88. What do you mean by file handling in C ?
  89. Compare text file and binary file.
  90. Explain following functions
    (i) fopen()
    (ii) fclose()
    (iii) fwrite()
    (iv) fread()
  91. What is liner search ? Explain with the help of examples.
  92. What are advantages and disadvantages of linear search ?
  93. What is Binary search ? Explain with the help of examples ?
  94. Explain difference between linear search and binary search ?
  95. What are the disadvantages of binary search ?
  96. Compare different methods of sortinf.
  97. What is bubble sorting ? Explain with the help of example ?
  98. What is insertion sort ? Explain.
  99. Explain with the help of example, quick sorting.
You may also like:

Related Posts

Leave a Reply