Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 does static variable mean in c?

1142


Are negative numbers true in c?

1108


Explain how can a program be made to print the line number where an error occurs?

1282


What is the use of ?

1083


What is file in c language?

1051


Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.

3227


What are unions in c?

1083


What is the significance of c program algorithms?

1193


Write a program to use switch statement.

1184


What is structure padding and packing in c?

1124


What do you mean by a local block?

1128


Are the outer parentheses in return statements really optional?

1159


Can you please explain the difference between exit() and _exit() function?

1083


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

1074


Describe wild pointers in c?

1166