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 / rajendra.p (honeywell)

-128 is correct answer

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What language is c written?

1098


What is malloc and calloc?

1103


What happens if you free a pointer twice?

1134


What are header files and explain what are its uses in c programming?

1172


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

2404


What are the different types of pointers used in c language?

1099


Why we not create function inside function.

2252


How do I create a directory? How do I remove a directory (and its contents)?

1219


What are local static variables? How can you use them?

1199


What is volatile keyword in c?

1085


Why c is a mother language?

1095


Is c is a procedural language?

1130


Why are algorithms important in c program?

1172


Explain a file operation in C with an example.

1173


What is the difference between functions abs() and fabs()?

1207