title: How do I remove the first n characters from a string in c?
body: <p>I have a function drop_left() that removes the first n characters from the string. I increment the pointer n spaces so that the string points to the everything after the first n characters. When I return to main, the function did not actually change the string. What am I doing wrong?</p>
  
  <pre><code>int main(int argc, char** argv) {
      char string[]="drop left";
      drop_left(string, 2);
      printf("Drop left: %s\n" , string);
  }
  
  void drop_left(char *s, int n){
          s+=n;
  }   
  </code></pre>