title: pointer to next element of an array
body: <p>I am struggling with a problem in C. The problem is how to get pointer to an element in array if I know the pointer to the previous element in the array?</p>
  
  <p>Suppose I have a string</p>
  
  <pre><code>s = "Hello World"
  </code></pre>
  
  <p>and I have a pointer to 'o' in the string</p>
  
  <pre><code>char *p = strchr(s, 'o')
  </code></pre>
  
  <p>How do I get pointer to o given I just know p?</p>