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

It will print 0 to 127

Is This Answer Correct ?    6 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of a conditional inclusion statement in C?

572


What are qualifiers?

591


What do you know about the use of bit field?

586


How do I send escape sequences to control a terminal or other device?

585


What is difference between Structure and Unions?

609






write a c program for swapping two strings using pointer

2062


What is a stream?

623


What is assert and when would I use it?

558


Differentiate fundamental data types and derived data types in C.

587


Write a program to check palindrome number in c programming?

572


What is modifier & how many types of modifiers available in c?

579


How can you find out how much memory is available?

595


What is void c?

546


Write a program to print numbers from 1 to 100 without using loop in c?

607


Difference between malloc() and calloc() function?

637