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 main()
{
int fun(int);
int i = fun(10);
printf("%d\n", --i);
return 0;
}
int fun(int i)
{
return (i++);
}

3) What will be the output of the program?

#include<stdio.h>
int fun(int, int);
typedef int (*pf) (int, int);
int proc(pf, int, int);
int main()
{
printf("%d\n", proc(fun, 6, 6));
return 0;
}
int fun(int a, int b)
{
return (a==b);
}
int proc(pf p, int a, int b)
{
return ((*p)(a, b));
}

4) What will be the output of the program?

#include<stdio.h>
int main()
{
int i=1;
if(!i)
printf("Study2Online,");
else
{
i=0;
printf("C-Program");
main();
}
return 0;
}

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

UP Gk Online Test

taiyari24hour.com

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