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
#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); }
What is use of #include in c?
Why is c called c not d or e?
Is linux written in c?
#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); }
Explain what is a static function?
What is pointer in c?
What is sizeof c?
List the difference between a While & Do While loops?
Why is struct padding needed?
Explain what happens if you free a pointer twice?
What are global variables?
What is an array? What the different types of arrays in c?
how to create duplicate link list using C???
Is calloc better than malloc?