[algogeeks] Post-Increment simple program - Aptitude probelm

2011-08-26 Thread Suraj Fale
Hey guys.. I know in this group all geeky stuffs goes on... but following lines of code i foind it intresting and thah y wants ot sahre it with you all. Its very basic but some may of you may not know, int main() { int i=0; if(i++) printf(Hello); else printf(Bye); return 0; } /*

Re: [algogeeks] Post-Increment simple program - Aptitude probelm

2011-08-26 Thread Vijay Khandar
O\P-Bye I think so.plz explain how its hello On Fri, Aug 26, 2011 at 12:12 PM, Suraj Fale surajfa...@gmail.com wrote: Hey guys.. I know in this group all geeky stuffs goes on... but following lines of code i foind it intresting and thah y wants ot sahre it with you all. Its very

Re: [algogeeks] Post-Increment simple program - Aptitude probelm

2011-08-26 Thread Suraj Fale
Thats correct it will print 'Bye'... i just said Hello so everyone will try to compile it and ask questions like you. Thanks for showing intrest. Btw you can share such aptitude questions if u have On Fri, Aug 26, 2011 at 12:15 PM, Vijay Khandar vijaykhand...@gmail.comwrote: O\P-Bye I