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 / praveen

0 0 1 3 1


correct me if im wrong

Is This Answer Correct ?    22 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Array is an lvalue or not?

1188


Why do we need functions in c?

1082


What is the main difference between calloc () and malloc ()?

1233


Explain the properties of union.

1135


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

1120


What is the purpose of scanf() and printf() functions?

1298


Wt are the Buses in C Language

3262


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

2028


Explain the concept and use of type void.

1167


What is the use of header?

1142


How is a structure member accessed?

1189


How do you use a pointer to a function?

1148


What is difference between %d and %i in c?

1307


What is a wrapper function in c?

1168


Do character constants represent numerical values?

1398