Function MCQs
Practice free Function multiple-choice questions with instant answer feedback and step-by-step solutions. Click an option to check yourself, reveal the full explanation, and work through all 223 questions — no login required.
Question 28easy
What is the purpose of the 'volatile' keyword when used with a function in C?
Question 29easy
What is the result of the expression abs(-7.5) in C?
Question 30easy
In C, what is a function parameter's scope?
Advertisement
Question 31easy
What will happen after compiling and running following code?
main()
{
printf("%p", main);
}Question 32easy
Use of functions
Question 33easy
Any C program
Advertisement
Question 34easy
What is function?
Question 35easy
Determine output:
main()
{
int i = abc(10);
printf("%d", --i);
}
int abc(int i)
{
return(i++);
}Question 36easy
The default parameter passing mechanism is