The 10 Quickest Ways to Get 1 from 0

Fun

We do typing errors everyday. Some you notice while you are typing and some remain to haunt you until you realize they are there.

Suppose you accidentally wrote 0 instead of 1 while you were coding or writing a mathematical equation and the like. Here are the things you could do to overcome this situation.

  1. Addition:
    0 + 1
  2. Post-Increment:
    0++
  3. Pre-Increment:
    ++0
  4. Factorial function:
    0!
  5. Negation operator:
    !0
  6. Exponential function:
    e(0)
  7. OR with 1:
    0 | 1
  8. XOR with 0:
    0 ^ 1
  9. Fibonacci:
    f(0)
  10. Trash 0 and type 1 instead:
    1
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s