title: IP address to binary in C
body: <p>I have an ip address like so:</p>
  
  <pre><code>address = '192.168.1.11';
  </code></pre>
  
  <p>and need to convert it to its binary format</p>
  
  <pre><code>11000000 10101000 00000001 00001011
  </code></pre>
  
  <p>I have some ideas on how to leftshift the decimal number and using inet_addr, but not sure how I would go about doing it.</p>
  
  <p>Thanks, I'm still new to C.</p>