Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Easiest Question on earth


Marsh
 Share

Recommended Posts

Read the following statements and tick the box next to the correct answer.

int a = 10;

int b = 20;

a = b;

The new values of a and b are:

[ ] a = 20 b = 0

[ ] a = 20 b = 20

[ ] a = 0 b = 10

[ ] a = 10 b = 10

[ ] a = 30 b = 20

[ ] a = 30 b = 0

[ ] a = 10 b = 30

[ ] a = 0 b = 30

[ ] a = 10 b = 20

[ ] a = 20 b = 10

This is apparently a question that 50% of people fail.

http://www.codinghorror.com/blog/2006/07/separating-programming-sheep-from-non-programming-goats.html

Really interesting article.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...