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>
#include<stdlib.h>
int main()
{
int i=0;
i++;
if(i<=5)
{
printf("Study2Online");
exit(1);
main();
}
return 0;
}

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

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

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

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

UP Gk Online Test

taiyari24hour.com

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