The keyword used to transfer control from a function back to the calling functio

Home | Discussion Forum
Taiyari24Hour

The keyword used to transfer control from a function back to the calling function is



View More Related Question

2) Which library function returns number of seconds elapsed beyond a designated base time?

3) Point out the error in the program

#include<stdio.h>
int f(int a)
{
a > 20? return(10): return(20);
}
int main()
{
int f(int);
int b;
b = f(20);
printf("%d\n", b);
return 0;
}

4) What will be the output of the program?

#include<stdio.h>
int check(int);
int main()
{
int i=45, c;
c = check(i);
printf("%d\n", c);
return 0;
}
int check(int ch)
{
if(ch >= 45)
return 100;
else
return 10;
}

5) Which of the following statements are correct about the function?

long fun(int num)
{
int i;
long f=1;
for(i=1; i<=num; i++)
f = f * i;
return f;
}

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.