title: Matrix in C without arrays
body: <p>Hello my coding teacher give us this exercise:  </p>
  
  <blockquote>
    <p>"Write a C program that, considering two values <em>row</em> and <em>col</em> (both int) chosen by the user, prints a matrix composed by <em>row</em> rows and <em>col</em> columns in which the first element is 1 and every next element is the previous one incremented by one."  </p>
  </blockquote>
  
  <p>I know that a matrix can be composed with arrays but we haven't study them yet so I have to make that only using basic C functions. How can I do?</p>