The greatest mistake you can make in life is to be continually fearing you will make one

Saturday 31 July 2010

Questions on Functions

  1. Difference between pass by value and pass by reference?
  2. Can you write function similar to printf()?
  3. How can called function determine number of arguments that have been passed to it?
  4. What is the purpose of main() function?
  5. What are the advantages of functions?
  6. Define function and built-in function?
  7. Can the sizeof operator used to tell the size of an array passed to a function?
  8. Is it possible to execute a code even after the program exits the main() function?
  9. What is a static function?
  10. Why should I prototype a function?
  11. Is it better to use a function or a macro?
  12. How do you determine whether to use a stream function or a low level function?

1 comment: