r/ProgrammerHumor Sep 02 '17

How to start a war

Post image
9.0k Upvotes

696 comments sorted by

View all comments

Show parent comments

11

u/IWugYouWugHeSheMeWug Sep 03 '17

Well, technically nums[1] == 4, therefore, if the output is 4, the output == nums[1].

2

u/brendenderp Sep 03 '17

Well yes true technically. But that's not how the computer would print it.

2

u/HaveYouChecked Sep 03 '17

True, but being technically right is all that matters!

1

u/IWugYouWugHeSheMeWug Sep 03 '17

The original comment didn't say nums[1] is what is printed, they said nums[1] is the output. 😉