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

Answer Posted / niranjan kumar niraj

output is 1

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is wrong with this program statement?

610


Give differences between - new and malloc() , delete and free() ?

614


Explain is it valid to address one element beyond the end of an array?

739


write a program for the normal snake games find in most of the mobiles.

1789


What is FIFO?

678






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


Explain what is dynamic data structure?

648


What is the use of ?

628


What is a ternary operator in c?

656


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

1742


How can I write functions that take a variable number of arguments?

631


When should a type cast not be used?

627


 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


Why c is called object oriented language?

592


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

2253