C- Functions Question and Answer

C- Functions Question and Answer
11. the parameters in a function call are
  • actual parameters
  • formal parameters
  • dummy parameters
  • optional
Show Answer
12. The parameters in a function definition are
  • actual parameters
  • formal parameters
  • dummy parameters
  • optional
Show Answer
13. the parameters passing mechanism used in C is
  • call by reference
  • call by name
  • call be value
  • options a and b
Show Answer
14. the storage class that can percede return data type in function declaration is
  • extern
  • static
  • options a and b
  • register
Show Answer
15. Recursive call results when
  • a function calls itself
  • a function1 calls another function, which in turn calls the function1
  • options a and b
  • a function calls another function
Show Answer
16. The main ( ) function calls in a C program
  • allows recursive call
  • does not allow recursive call
  • is optional
  • is a built - in function
Show Answer
17. the function main ( ) is
  • a built- in function
  • a user-defined function
  • optional
  • all the above
Show Answer
18. The storage class allowed for parameters is
  • auto
  • static
  • extern
  • register
Show Answer
19. Functions are assigned by default
  • auto storage class
  • static storage class
  • extern storage class
  • register storage class
Show Answer
20. Functions have
  • file scope
  • local scope
  • block scope
  • function scope
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test