If you accept:
someone else's answer: You gain +2 reputation and the author of the accepted answer earns +15 reputation.
your own answer: No reputation is awarded, and the answer does not float to the top of the list. You must wait 48 hours to accept your own answer.
a community-wiki answer: No reputation is awarded.