Question 1: Purpose of Functions
What is the main advantage of using functions in C?
Question 2: Built-in Functions
Which of the following is a standard library function in C?
Question 3: Function Declaration
Where is a function prototype (declaration) usually placed in a C program?
Question 4: Return Type
What does a function return if its return type is not specified in C (default)?
Question 5: Function with Parameters
What will be the output?
Question 6: Function Call by Value
What will be printed?
Question 7: Recursive Function
Which of the following functions is an example of recursion?
Question 8: Recursion Example
What is the output of the following code?
Question 9: Standard Library Header
Which header file must be included to use sqrt() function?
Question 10: Void Functions
What is true about a void function in C?