Function in C - Quiz

  • AA function that calls another function
  • BA function that returns a pointer to another function
  • CA function that calls itself
  • DA function that takes no arguments
  • A A recursive function cannot call itself.
  • BA recursive function must have a base case to terminate the recursion.
  • CA recursive function must have a return type of void.
  • DA recursive function cannot be called from another function.
  • AFunction arguments are always passed by value.
  • BFunction arguments are always passed by reference.
  • CFunction arguments can be passed by value or by reference.
  • DFunction arguments can be passed by value, bot not by reference
  • ATo define the implementation of a function.
  • BTo declare the return type of a function.
  • CTo declare the function name and its parameter types.
  • D To declare the function name and its return type.
  • Avoid
  • Bint
  • Cchar
  • DBoth A and B and C
  • A A function that takes no arguments
  • BA declaration of a function that specifies the function's name, return type, and parameter types
  • CA function that returns a pointer to another function
  • DA function that has a variable number of arguments