なるほど。数字のみなら>>347もありか。

文字もokな一般的なものを考えてみたのが↓。
>>346
#include <stdio.h>
int main(void){
  int pt1 = 0 , pt2 = 0;
  char s[101] = "", tmp;

  printf("input  : ");
  scanf("%s", s);
  
  while(s[pt2 + 1]!='\0'){
    pt2++;
  }
  while(pt1 < pt2){
    tmp = s[pt1];
    s[pt1] = s[pt2];
    s[pt2] = tmp;
    pt1++;
    pt2--;
  }

  printf("output : %s\n", s);
  return 0;
}