September 5, 2007

C Interview Question - 1

  1. How do you print only part of a string?
  2. How to type a string without using printf function?
  3. What are the characteristics of arrays in C?
  4. What are the advantages of auto variables?
  5. What is the quickest searching method to use?
  6. What is the differece between #define and constant in C?
  7. Why should I prototype a function?
  8. Is it acceptable to declare/define a variable in a C header?
  9. What is the difference between goto and longjmp() and setjmp()?
  10. What is a function and built-in function?
  11. Differentiate between a linker and linkage?
  12. What is a macro, and how do you use it?
  13. What is a modulus operator? What are the restrictions of a modulus operator?
  14. What is pointer?
  15. What is a pointer value and address?
  16. What is a pointer variable?
  17. How can I sort things that are too large to bring into memory?
  18. What is a static function?
  19. What is storage class and what are storage variable?
  20. When is a switch statement better than multiple if statements?

No comments:

Post a Comment