|   |  | 
| ปรับปรุง : 2564-07-13 (ปรับแฟ้ม) | 
| datatype | TurboC | Programming | 
| // short, long, printf<br>แสดงการพิมพ์เลข double ได้สูงถึง 2147483647
/* http://www.thaiall.com/tc */
#include <stdio.h>
#include <conio.h>
void main()
{
  short i;
  i = 32767;
  printf("number = [%1d]\n",i);        // [32767]
  long j;
  j = 2147483647;
  printf("number = [%ld]\n",j);        // [2147483647]
  getch();
}
 | 
| 
 | 
| "ไม่เริ่มต้นในวันนี้ จะไม่มีทางสำเร็จในวันพรุ่ง" โดย โยฮัน ว็อล์ฟกัง ฟ็อน เกอเทอ |