what will be the output of this program
main()
{
int i=1;
while (i<=10);
{
i++;
}
}

Answer Posted / prashanthi

2

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

915


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

1594


Why do we use int main instead of void main in c?

626


What is an endless loop?

806


How can I get back to the interactive keyboard if stdin is redirected?

673






 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1732


What is return type in c?

642


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

1595


Why do we use & in c?

595


What are the different types of linkage exist in c?

615


Is there any demerits of using pointer?

634


I came across some code that puts a (void) cast before each call to printf. Why?

685


How can I find out how much free space is available on disk?

632


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1432


Who is the founder of c language?

688