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

#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

6310


Is it acceptable to declare/define a variable in a c header?

1126


write a c program in such a way that if we enter the today date the output should be next day's date.

2196


Give the rules for variable declaration?

1179


What does s c mean in text?

1098


Explain the use of keyword 'register' with respect to variables.

1053


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1205


Tell us bitwise shift operators?

1094


Why is void main used?

1096


What are the features of c language?

1073


What does the c in ctime mean?

1096


What are the features of c languages?

1103


What is the difference between struct and union in C?

1316


How to declare pointer variables?

1244


What is the difference between declaring a variable by constant keyword and #define ing that variable?

3371