title: how do you swap two rows in a matrix (in C)?
body: <p>for example, given a matrix:</p>
  
  <p>1 2 3</p>
  
  <p>4 5 6</p>
  
  <p>7 8 9</p>
  
  <p>if you are goint to swap row[0] and row[1], resulting matrix would be:</p>
  
  <p>4 5 6</p>
  
  <p>1 2 3</p>
  
  <p>7 8 9</p>
  
  <p>can you guys help me get a code in C for this?</p>