int i =10
main()
{
int i =20,n;
for(n=0;n<=i;)
{
int i=10
i++;
}
printf("%d", i);

Answer Posted / dips

it doesnt have any terminating condition so it will be
infinite loop ,no output

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }

954


What is use of #include in c?

796


Why is c called c not d or e?

822


Is linux written in c?

777


#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

983






Explain what is a static function?

821


What is pointer in c?

932


What is sizeof c?

800


List the difference between a While & Do While loops?

822


Why is struct padding needed?

796


Explain what happens if you free a pointer twice?

782


What are global variables?

845


What is an array? What the different types of arrays in c?

840


how to create duplicate link list using C???

2246


Is calloc better than malloc?

770