title: How to reverse the words in a sentence without using inbuilt function
body: <p>I have a string "this is a test". I want to reverse it to "test a is this". We will take one string as "This is a test". After reversing it string should be "test a is this"</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  char *reverse(char *p);
  void main() {
      char p[100] = "this is a test";
      char *s = reverse(p);
      printf("%s", s);
  }
  </code></pre>
  
  <p><strong>output</strong> - test a is this.</p>