Interview questions on C language

The C is a  procedural computer programming language developed in 1972 by Dennis M. Ritchie at the Bell Telephone Laboratories to develop the UNIX operating system. It is widely used programming language.

  1. What are the characteristics of C language?
  2. What is the difference between declaration and definition of a variable/function?
  3. What is the difference between goto and long jmp()?
  4. what is switch statement and how it works?
  5. Differentiate Source Codes from Object Codes?
  6. What is the difference between Call by Value and Call by Reference?
  7. What is the difference between the =  and == symbol?
  8. Difference between lvalue and rvalue in c?
  9. How can hold the output screen without getch() ?
  10. Difference between far and near pointers?
  11. What are different storage class specifiers in C?
  12. What is difference between including the header file with-in angular braces < > and double quotes “ “ ?
  13. What is the default value of local and global variables?
  14. What is scope of a variable? How are variables scoped in C?
  15. What is a local block?
  16. What are reserved words?
  17. What is the use of extern storage specifier?
  18. What is use of pointers in a C program?
  19. What is NULL pointer?
  20. What is void pointers?
  21. What is Dangling pointer?
  22. What are global variables and how do you declare?
  23. What are local static variables? What is their use?
  24. What are static functions? What is their use?
  25. What is difference between i++ and ++i?
  26. Define sizeof operator in c?
  27. What is volatile keyword?
  28. What is preprocessor in c and how it works?
  29. What is the purpose of #undef preprocessor?
  30. What are enumerations?
  31. Can the main() function remain empty?
  32. How can be a negative integer stored?

Thank you visitor…! 🙂 www.ease2code.com

 

Speak Your Mind

*