Question 1 of 25
Hints left: 3
Q1
In C, what is the purpose of the 'void' keyword as a function return type?
Q2
In C, what is the purpose of the 'const' keyword when used with a function parameter?
Q3
In C, what is the purpose of the 'return' statement in a function?
Q4
What is the correct way to declare a function in C that takes no arguments and returns an integer?
Q5
What is the purpose of the 'static' keyword when used with a function in C?
Q6
Which of the following is not a standard C library function for mathematical operations?
Q7
What is the purpose of the 'volatile' keyword when used with a function in C?
Q8
What is the result of the expression abs(-7.5) in C?
Q9
What is the main advantage of using functions in C?
Q10
In C, what is a function's prototype?
Q11
In C, what is the purpose of the 'inline' keyword when used with a function?
Q12
In C, what is a function parameter?
Q13
In C, what is the purpose of the 'recursion' in a function?
Q14
What is a function's return type in C if it does not return any value?
Q15
What is the result of the expression floor(5.7) in C, assuming proper inclusion of the math library?
Q16
What is a function parameter in C?
Q17
In C, what is a function definition?
Q18
What is the result of the expression pow(2, 3) in C, assuming proper inclusion of the math library?
Q19
What is the result of the expression ceil(3.2) in C, assuming proper inclusion of the math library?
Q20
What is the purpose of the 'extern' keyword when declaring a function in C?
Q21
How is the scope of a local variable defined in C?
Q22
What is the result of the expression abs(-5) in C?
Q23
What is a recursive function in C?
Q24
How do you call a function named myFunction with two arguments in C?
Q25
How can you declare a function in C that takes a variable number of arguments?