55 C Interview Questions

While different interviewers may ask distinctive questions, it always helps to be prepared for severe grilling. So we have to drawn up a list of frequently asked 55 c interview questions. Read all the questions and prepare answers dotted with examples for success in the job interview.

  1. What is C language?
  2. What is a pragma?
  3. What is the use of logical operators and the conditional operators with example?
  4. Define static variable?
  5. Is it possible to declare static variable in header file?
  6. What is difference between nul and null?
  7. What is a function and its use?
  8. What is recursion?
  9. What is hashing?
  10. What is null pointer?
  11. Define array and a simple program with array?
  12. What is the difference between printf() and scanf()?
  13. What is difference between charachter arrays and strings?
  14. What is the output of printf("%f") and printf("%d")?
  15. What is the difference between run time error and compile time error?
  16. What is calloc() and malloc() and its differences?
  17. How to reduce the final size of executable?
  18. What are the diffrent class storages in c?
  19. Is it possible to execute code even after the program exists the main() function?
  20. How can you determine the size allocation of memory?
  21. What is c-preprocessor and its features?
  22. What is object file?
  23. How can you access objectfile?
  24. What are strings?
  25. What are standard library string functions?
  26. How to find a given number is armstrong or not in "c"?
  27. What is structural language and procedural language with differences?
  28. What is the limitation of array of pointers to strings?
  29. What is the difference between structure and union?
  30. What is null macro?
  31. What is the difference between null macro and null pointer?
  32. What is data structure in c?
  33. How can we check whether the contents of two structure variables are same or not?
  34. What is file pointer and its working method?
  35. What is void pointer?
  36. How are pointer variables intialized?
  37. Will you add pointers together? Explain it?
  38. What is static function?
  39. What is the purpose of the main( ) function?
  40. How to write a program in c to print its own code?
  41. Difference between linker and linkage?
  42. What is meant by malloc function?
  43. How do you use a pointer to a function?
  44. Difference between pointer to function and function to pointer?
  45. How to convert decimal to octal and hexadecimal in c?
  46. What is a method?
  47. What is built-in function?
  48. What are the advantages of macro over a function?
  49. How to print a statement with out using printf( ) in c?
  50. What is the code to draw a three dimensional graph using c graphics?
  51. How to create a relation circular program using c?
  52. What is #line used for?
  53. What is an abstract class?
  54. What are the important features in c?
  55. What is a modular programming?