C Functions Questions and Answers

Take Exam

C Functions Questions with Answers provide an in-depth look at one of the most fundamental concepts in C programming. Understanding how to define, call, and manage user-defined and library functions is key to mastering structured programming. These C programming MCQs are widely used in technical interviews and coding tests conducted by companies like TCS, Wipro, and Infosys. Each question includes explanations to help you grasp parameter passing, recursion, return types, and scope. Practicing programming questions with answers strengthens your coding logic and prepares you for real-world software challenges. Download C programming MCQ PDFs and practice online to enhance your technical aptitude efficiently.

C Functions

Showing 10 of 151 questions

11. the parameters in a function call are

  • actual parameters
  • formal parameters
  • dummy parameters
  • optional
Show Answer Report

12. The parameters in a function definition are

  • actual parameters
  • formal parameters
  • dummy parameters
  • optional
Show Answer Report

13. the parameters passing mechanism used in C is

  • call by reference
  • call by name
  • call be value
  • options a and b
Show Answer Report

14. the storage class that can percede return data type in function declaration is

  • extern
  • static
  • options a and b
  • register
Show Answer Report

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 Report

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 Report

17. the function main ( ) is

  • a built- in function
  • a user-defined function
  • optional
  • all the above
Show Answer Report

18. The storage class allowed for parameters is

  • auto
  • static
  • extern
  • register
Show Answer Report

19. Functions are assigned by default

  • auto storage class
  • static storage class
  • extern storage class
  • register storage class
Show Answer Report

20. Functions have

  • file scope
  • local scope
  • block scope
  • function scope
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test