Logiciel Libre

May 1, 2008

Mayday Programming Brain Teaser

Filed under: Default — Tags: , , , — adam @ 7:18 am CDT

Thanks to Sam for the idea.

int k = 0;
k = k++;

After both lines execute, what is k equal to?

(more…)

Powered by WordPress