ABARM EDUCATION
Pages
Home
C (Programming Language)
Multimedia
Sunday, January 9, 2011
รูปแบบการประกาศตัวแปรในภาษาซี
type var1;
type var1, var2, var3, ... , varN;
type
คือชนิดของข้อมูลที่กำหนดให้กับตัวแปร
varX
คือชื่อตัวแปรที่จะตั้ง
ตัวอย่าง
int number;
int a, b, c;
float real;
float point1, point2;
char choice;
char ch1, ch2;
0 ความคิดเห็น:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
SUBSCRIBE TO
Posts
Atom
Posts
Comments
Atom
Comments
0 ความคิดเห็น:
Post a Comment