C Functions Questions and Answers
Practice ModeShowing 10 of 151 questions
Q1
The keyword used to transfer control from a function back to the calling function is
Answer: Option D
Q2
What is the notation for following functions?
int f(int a, float b) { /* Some code */ }
int f(a, b) int a; float b; { /* Some code */ }
Answer: Option C
Q3
How many times the program will print "IndiaBIX" ?
#include<stdio.h>
int main()
{
printf("IndiaBIX");
main();
return 0;
}
Answer: Option D
Q4
The program execution starts from
Answer: Option B
Q5
How many main ( ) functions can be defined in a C program ?
Answer: Option A
Q6
A function is identified by an open arenthesis following
Answer: Option B
Q7
A function with no action
Answer: Option C
Q8
Parameters are used
Answer: Option C
Q9
Identify the correct statement.
Answer: Option D
Q10
The default return data type in function definition is
Answer: Option B