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...

main()
{
int i=0;
while(+(+i--)!=0)
i-=i++;
printf("%d",i);
}

Answer Posted / rameshp

ans s -1

Bec

while(1!=0) this s false..so next line don't exec..

so i-- means 0--= -1

finally we get -1

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to compare array with pointer in c?

1104


What does %d do in c?

961


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1721


is it possible to create your own header files?

1106


What is the right way to use errno?

1051


Write a program to know whether the input number is an armstrong number.

1119


Explain union. What are its advantages?

1079


a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor

1092


what is the role you expect in software industry?

2146


What is the size of enum in c?

1115


What is assignment operator?

1057


What is data type long in c?

1076


What is c definition?

1274


How do you define a function?

1026


Can we increase size of array in c?

966