ฟังก์ชัน strrev ใช้ในการกลับข้อความ
#include <stdio.h>
#include <conio.h>
main()
{
char ck[10]="comnow";
system("cls");
printf("%s\n",strrev(ck));
getch();
}
ผลการรัน
wonmoc