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

What is sizeof in c?

955


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3632


What is the use of void pointer and null pointer in c language?

1070


What are the types of operators in c?

1002


What is difference between far and near pointers?

986


Explain what are run-time errors?

1037


What is pointer in c?

1141


Which is best book for data structures in c?

1039


When is the “void” keyword used in a function?

1428


What is the difference between text and binary i/o?

997


What is the heap in c?

1030


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

1089


Why are all header files not declared in every c program?

1042


Which built-in library function can be used to match a patter from the string?

1236


How can you find the day of the week given the date?

1147