Functions – Multiple Choice Questions (MCQs)
-
-
2. What is function definition in C?
-
3. What is function call in C?
-
4. Which keyword is used to return a value from a function in C?
-
5. What is the return type of a function that does not return any value?
-
6. What are function parameters (arguments)?
-
7. What is the scope of a local variable declared inside a function?
-
8. What is a global variable in C?
-
9. What is the lifetime of a local variable in C?
-
10. What is the purpose of function prototypes in C?
-
11. Which of the following is a valid function declaration in C?
-
12. What is recursion in C?