What is the output of the program given below

#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}

Answer Posted / deepanjali

infinte loop

Is This Answer Correct ?    4 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe how arrays can be passed to a user defined function

788


How can I avoid the abort, retry, fail messages?

665


can we change the default calling convention in c if yes than how.........?

2037


using for loop sum 2 number of any 4 digit number in c language

1738


Why is c called c not d or e?

617






What is main function in c?

551


Explain the binary height balanced tree?

729


What is the explanation for modular programming?

689


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

1668


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

1624


Why does this code crash?

623


What is enumerated data type in c?

633


What is pointer and structure in c?

576


Can you define which header file to include at compile time?

591


What is identifier in c?

550