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 is an expression?

1051


What is the c value paradox and how is it explained?

1052


How can I manipulate individual bits?

1038


How many keywords (reserve words) are in c?

1138


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

1097


the question is that what you have been doing all these periods (one year gap)

2078


What is infinite loop?

1082


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1100


What will be the outcome of the following conditional statement if the value of variable s is 10?

1284


What does & mean in scanf?

1105


How a string is stored in c?

1066


What is a structural principle?

1161


Explain is it valid to address one element beyond the end of an array?

1209


What is the size of a union variable?

1053


what is the format specifier for printing a pointer value?

1016