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

#include<stdio.h>
int main()
{ int i=0,j=1,k=2,m,n=0;
m=i++&&j++&&k++||n++;
printf("%d,%d,%d,%d,%d",i,j,k,m,n);
}

Answer Posted / g krishna rao

1,1,2,0,1

when it encounters zero it will not check remaining conditions
and go to or conditions and incriment n

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is indirection in c?

1078


Why is #define used?

1281


How many data structures are there in c?

1131


Is c a great language, or what?

1123


What does *p++ do? What does it point to?

1066


What are the advantages and disadvantages of pointers?

1075


What is meant by recursion?

1058


What is the use of #define preprocessor in c?

1081


What is pointer to pointer in c with example?

1082


Can you assign a different address to an array tag?

1177


Explain do array subscripts always start with zero?

1242


How do you convert strings to numbers in C?

1231


Why main is not a keyword in c?

1260


Is a pointer a kind of array?

1193


Can a variable be both constant and volatile?

1131