one request : dont use trubo C On Wed, Jul 27, 2011 at 10:23 PM, Vijay Khandar <vijaykhand...@gmail.com>wrote:
> I m getting o/p > 1 > 2 1 1 > 1 > 2 2 1 > but on wards when x=y=z= -1 > then i m getting something different o/p..... > > On Wed, Jul 27, 2011 at 10:18 PM, Jnana Sagar <supremeofki...@gmail.com>wrote: > >> what do u mean by o/p..actually what r u asking for..sorry to ask >> so..i couldn't get u.. >> >> On 7/27/11, Vijay Khandar <vijaykhand...@gmail.com> wrote: >> > #include<stdio.h> >> > #include<conio.h> >> > void main() >> > { >> > clrscr(); >> > int x,y,z; >> > x=y=z=1; >> > printf("\n %d",++x||++y&&++z); >> > printf("\n %d %d %d ",x,y,z); >> > x=y=z=1; >> > printf("\n %d",++x&&++y||++z); >> > printf("\n %d %d %d",x,y,z); >> > x=y=z=1; >> > printf("\n %d",++x&&++y&&++z); >> > printf("\n %d %d %d",x,y,z); >> > x=y=z=-1; >> > printf("\n %d",++x&&++y||++z); >> > printf("\n %d %d %d",x,y,z); >> > x=y=z=-1; >> > printf("\n %d",++x||++y&&++z); >> > printf("\n %d %d %d",x,y,z); >> > x=y=z=-1; >> > printf("\n %d",++x&&++y&&++z); >> > printf("\n %d %d %d",x,y,z); >> > getch(); >> > } >> > >> > plz anyone provide the o/p for this program.........I m very much >> > confusing >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "Algorithm Geeks" group. >> > To post to this group, send email to algogeeks@googlegroups.com. >> > To unsubscribe from this group, send email to >> > algogeeks+unsubscr...@googlegroups.com. >> > For more options, visit this group at >> > http://groups.google.com/group/algogeeks?hl=en. >> > >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Ankur Khurana Computer Science Netaji Subhas Institute Of Technology Delhi. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.