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;
}

/* Output :-  Hello
 I m sure those who dont know properly how post and pre increment works then
it may be useful for them.
If any one has such syntaxtical funny code which might be very useful then
please do share because in lots of comapnies aptitude such codes are asked.
By the way above code was asked to me in MARVELL Interview.

-- 
Regards
Suraj Fale
+91-9766103115

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to