Original picture courtesy of thehollywoodgossip.com
you are such a geek!!!!
With that code, obama will never become president!
You have to pass in the address of “i” in the function voteFor(). Otherwise, “i” will never change. (unless we are talking about a multi-threaded system here with shared memory.
(yes, i know, a big geek)
*Agrees* with “Recovering UCB grad”. I must be passed by reference. Otherwise, it will never change.
Get the news by email. Enter your email address and receive updates.
You can unsubscribe at any time.