This program will receive a sentence and reverse it as the result. 字串反轉
Example input 1:
School need Student
Example output 1:
Student need School
Example input 2:
Student
Example output 2:
Example input 3:
are you as bored as I am
Example output 3:
am I as bored as you are
Hidden content!#include <stdio.h>#include <string.h>#include <stdlib.h>int main(){ * *** * * * * **** * ** str1[100], str2[100]={0};**** * * * * * ** *** * i,j;