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(i);
}

Answer Posted / vinod

Error.... Cannot convert int to char error at printf(i). If they replaced printf(i) to printf("%d",i) then it would be -1.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of ftell?

1066


Explain what is the difference between text files and binary files?

1139


What are the standard predefined macros?

1125


What is a spanning Tree?

1560


write a proram to reverse the string using switch case?

2919


What are identifiers in c?

1189


Hai what is the different types of versions and their differences

1929


What is a char c?

1033


What is equivalent to ++i+++j?

1077


What is the purpose of the preprocessor directive error?

1249


Explain the difference between getch() and getche() in c?

984


What is pointer to pointer in c with example?

1048


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

1134


How can I change their mode to binary?

1098


Which of these functions is safer to use : fgets(), gets()? Why?

1085