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 are comments and how do you insert it in a C program?

737


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1209


Should a function contain a return statement if it does not return a value?

592


Are local variables initialized to zero by default in c?

545


What is c token?

601






Write a function that will take in a phone number and output all possible alphabetical combinations

592


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1442


What is 1d array in c?

598


What is array of pointers to string?

562


Is a pointer a kind of array?

598


Apart from dennis ritchie who the other person who contributed in design of c language.

801


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

722


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

1535


Is c++ based on c?

644


What is difference between structure and union in c programming?

565