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

Answer Posted / durgesh

Infinite Loop...

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is && in c programming?

683


What's the total generic pointer type?

618


Explain what are the different data types in c?

761


What is main () in c language?

601


What is void main () in c?

738






What is variable initialization and why is it important?

623


Explain the advantages of using macro in c language?

584


What is call by value in c?

562


How pointers are declared?

565


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include...

4907


what is reason of your company position's in india no. 1.

1779


Explain how do you convert strings to numbers in c?

598


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

981


Explain can you assign a different address to an array tag?

648


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1316