title: Easy: Passing data to c program from terminal (Mac)
body: <p>So, this is a really basic question. For an assignment we had to write a c program that would calculate the page and offset number of a virtual address. My program seems to work fine when I make a vocal variable of the virtual address that we are supposed to do calculations on, but I can't figure out how to pass it. </p>
  
  <p>The assignment says that we should run our program like this</p>
  
  <pre><code>./program_name 19982
  </code></pre>
  
  <p>I just can't figure out how to pass that 19982 in terminal on my mac. Any help is appreciated. (And in before someone makes a mac joke.) </p>