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 / kishore krishnan.s.r

Its actually a doubt
Since ++ has high precidence than && will it not be evaluated first.
then ans will be 1,2,3,0,1

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1173


What is data structure in c language?

1056


Why should I prototype a function?

1120


What are the different types of control structures in programming?

1085


What is %g in c?

1020


I have a varargs function which accepts a float parameter?

997


Why is c still so popular?

1005


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

937


Is c call by value?

967


Simplify the program segment if X = B then C ← true else C ← false

2960


How can you avoid including a header more than once?

928


Explain can you assign a different address to an array tag?

1014


Linked lists -- can you tell me how to check whether a linked list is circular?

1032


What are register variables in c?

974


What is the argument of a function in c?

991