#include <stdio.h>
#include <conio.h>
main()
{
char ant[10]={"ComPuter"};
system("cls");
printf("%s\t",ant);
getch();
}
ผลการรัน ComPuter
-----------------------------------------------------------
#include <stdio.h>
#include <conio.h>
main()
{
int a[5]={12,20,34,49,58};
clrscr();
printf("%d",a[3]);
getch();
}
อธิบาย a[3] คือตำแหน่งที่ 3 ค่าที่แสดง 49