C Functions Questions and Answers
Practice ModeShowing 10 of 151 questions
Q91
Find the output
void main ( )
{
bbsr ( )
{
printf("bbsr");
ctc ( )
{
printf("ctc");
}
}
printf("puri');
}
Answer: Option D
Q92
Which header file must be included to work with dynamic function variables?
Answer: Option C
Q93
A function type is said to be derived from its return type and if its return type is T, The function type is sometime called
Answer: Option A
Q94
Parameters are used
Answer: Option B
Q95
Find the output
void main ( )
{
int a=5;
a=find (a+=find (a++);
printf("%d",a);
}
int find (int a)
{
return ++a;
}
Answer: Option B
Q96
Find the output.
void main ()
{
int i=65536;
if (i)
callme ( );
else
callyou ( );
}
callme ( )
{
printf("Bye");
}
callyou ( )
{
printf ("welcome");
}
Answer: Option B
Q97
Find the output
void main ( )
{
int a=4, b=5;
printit (a,b);
}
printit (int b, int a)
{
printf("%d %d", a, b);
{
int a=0;
int b=1;
printf("%d %d",a,b);
}
}
Answer: Option B
Q98
What is the difference between writing prototype inside a function and outside a function?
Answer: Option C
Q99
Consider the printf statement used as below:
printf("%d %d", f1 ( ), f2 ( );
/*Assume f1 and f2 as functions
returning int*/
Then the order in which the functions f1 and f2
are called is :
Answer: Option B
Q100
ANSI C supports three kinds of function, such as user defined function, standard library function and
Answer: Option A