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 following program?
main()
{
int i=-1,j=-1,k=0,l=2,m;
m=i++&&j++&&k++||l++;
printf("%d %d %d %d %d",i,j,k,l,m);
}

Answer Posted / valli

0 0 1 3 1
m=-1&&-1&&0||2;//i.e,m=1;and i,j,m,l are incrimented

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between printf and scanf in c?

1371


What is typedef example?

1199


What are called c variables?

1079


What is the use of a conditional inclusion statement in C?

1079


In a switch statement, what will happen if a break statement is omitted?

1077


How do c compilers work?

1147


What does. int *x[](); means ?

1083


show how link list can be used to repersent the following polynomial i) 5x+2

2319


How is a null pointer different from a dangling pointer?

1045


How can I use a preprocessorif expression to ?

1077


What is variable initialization and why is it important?

1278


What are the disadvantages of external storage class?

1071


Explain how do you determine a file’s attributes?

1059


Explain what is the use of a semicolon (;) at the end of every program statement?

1241


how could explain about job profile

1935