[chbot] !!!!!!!! Choc fish challenge 2 !!!!!!!!!

Charles Manning manningc2 at actrix.gen.nz
Mon Aug 1 03:13:41 BST 2011


First the rules....

The last choc fish challenge was not very fair because it was finished by the 
time normal working people accessed their emails.

This time the first correct answer after  8pm on Tuesday will win.

This challenge tests your C programming knowledge. It is considered cheating 
to:
* Use Google or equivalents (or even Bing)!
* Use a compiler to verify your answers.
* Look stuff up in specs, books, etc.


Here goes:

Under what conditions does the following compile and what will happen when it 
executes?

  while(x[j] == j[x]){
	j++; x++;
  }


Charles



More information about the Chchrobotics mailing list