|   |  | 
| ปรับปรุง : 2564-07-13 (ปรับแฟ้ม) | 
| datatype | TurboC | Programming | 
| // char, gets, s[30]<br>รับตัวอักษรหลายตัวแล้วนำไปแสดงผล
/* http://www.thaiall.com/tc */
#include <stdio.h>
#include <conio.h>
void main()
{
  char s[30];
  printf("Put string :");
  gets(s);
  printf("You put %s",s);
  getch();
}
 | 
| 
 | 
| "ไม่เริ่มต้นในวันนี้ จะไม่มีทางสำเร็จในวันพรุ่ง" โดย โยฮัน ว็อล์ฟกัง ฟ็อน เกอเทอ |