int main() { "> int main() { "> int main() { a) Infinite times b) 32767 times c) 65535 times d) Till stack overflows"> How many times the program will print "Study 2 Online" ?<pre> #include<stdio.h><br/> int main()<br/> {<br/>

How many times the program will print "Study 2 Online" ?
  #include<stdio

Home | Discussion Forum
Taiyari24Hour

How many times the program will print "Study 2 Online" ?

  #include<stdio.h>
int main()
{
printf("Study 2 Online");
main();
return 0;
}



View More Related Question

2) What will be the output of the program?

#include<stdio.h>
int reverse(int);
int main()
{
int no=5;
reverse(no);
return 0;
}
int reverse(int no)
{
if(no == 0)
return 0;
else
printf("%d,", no);
reverse (no--);
}

3) 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;
}

4) There is a error in the below program. Which statement will you add to remove it?

#include<stdio.h>
int main()
{
int a;
a = f(10, 3.14);
printf("%d\n", a);
return 0;
}
float f(int aa, float bb)
{
return ((float)aa + bb);
}

5) What will be the output of the program?

#include<stdio.h>
int check (int, int);
int main()
{
int c;
c = check(10, 20);
printf("c=%d\n", c);
return 0;
}
int check(int i, int j)
{
int *p, *q;
p=&i;
q=&j;
i>=45 ? return(*p): return(*q);
}

UP Gk Online Test

taiyari24hour.com

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