KodeGod.com

015. Technical interview question: Give the output of the following code

 
int main()
{
  int i=2,j=2;
  while(i+1? --i : j++)
  printf("%d", i);
  return 0;
}