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 / gautam

0 to 127

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between static and dynamic modeling.

626


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

1770


Explain the ternary tree?

605


What is the difference between malloc() and calloc() function in c language?

608


What is the purpose of scanf() and printf() functions?

725






Explain how can I make sure that my program is the only one accessing a file?

633


Why structure is used in c?

600


Can you return null in c?

601


What is f'n in math?

623


What is the best way to comment out a section of code that contains comments?

786


What does struct node * mean?

605


What are 'near' and 'far' pointers?

624


How can I find the modification date and time of a file?

606


What are qualifiers in c?

575


Explain the red-black trees?

611