<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5771127464072471764</id><updated>2024-08-31T23:08:20.119-07:00</updated><category term="C Languages"/><category term="Programming"/><category term="ภาษาซี"/><category term="Computer"/><category term="คอมพิวเตอร์"/><category term="ตัวแปร"/><category term="C"/><category term="ความหมาย"/><category term="Reserved Words"/><category term="function"/><category term="functions"/><category term="variable"/><category term="ข้อมูล"/><category term="คำสงวน"/><category term="ชนิด"/><category term="ฟังก์ชัน"/><title type='text'>การเขียนโปรแกรมเบื้องต้นด้วยภาษาซี ( C Language Programming)</title><subtitle type='html'>การเขียนโปรแกรมเบื้องต้นด้วยภาษาซี โดยครูออฟ เรียนไปด้วยกันศึกษาไปด้วยกัน </subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://c-languags.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://c-languags.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>KruAOF</name><uri>http://www.blogger.com/profile/13537754653311955101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='18' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj44oFZmVdgOXYdKuzq-OCf3ApDMJ8Wu7CsWSJ29pvAEfmPBSfbg0nLvxGE7tNLI-e7Zqz79pRMFOr7vtUP-QG3g6K983pwP9FJIr9vSPph92aJtnC7Q4_8X34E-E5BxsSbh3rONe2gOv0CE7ZPvesWbaxPIsPT6ImNnqM8XmnIcqprM_4/s220/365316522_6579082705519499_3098932423696851147_n.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5771127464072471764.post-258277219435952833</id><published>2013-01-28T06:02:00.001-08:00</published><updated>2013-01-28T06:02:41.526-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C Languages"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="ข้อมูล"/><category scheme="http://www.blogger.com/atom/ns#" term="ชนิด"/><category scheme="http://www.blogger.com/atom/ns#" term="ตัวแปร"/><title type='text'>ชนิดข้อมูล ในภาษาซี </title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;ชนิดข้อมูล&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
ในการเขียนโปรแกรมภาษา C นั้น ผู้ใช้จะต้องกำหนดชนิดให้กับตัวแปรนั้นก่อนที่จะนำไปใช้งาน โดยผู้ใช้จะต้องรู้ว่าในภาษา C นั้นมีชนิดข้อมูลอะไรบ้าง เพื่อจะเลือกใช้ได้อย่างถูก&lt;br /&gt;ต้องและเหมาะสม ในภาษา C จะมี 4 ชนิดข้อมูลมาตรฐาน ดังนี้&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;strong&gt;ชนิดข้อมูลแบบไม่มีค่า หรือ&lt;/strong&gt;&amp;nbsp;Void Type (Void)&lt;br /&gt;ข้อมูลชนิดนี้ จะไม่มีค่าและจะไม่ใช้ในการกำหนดชนิดตัวแปร แต่ส่วนใหญ่จะใช้เกี่ยวกับฟังก์ชั่น ซึ่งจะขอยกไปอธิบายในเรื่องฟังก์ชั่น&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;strong&gt;&amp;nbsp;ชนิดข้อมูลมูลแบบจำนวนเต็ม หรือ&lt;/strong&gt;&amp;nbsp;Integer Type (int)&lt;br /&gt;เป็นชนิดข้อมูลที่เป็นตัวเลขจำนวนเต็ม ไม่มีทศนิยม ซึ่งภาษา C จะแบ่งข้อมูลชนิดนี้ออกได้เป็น 3 ระดับ คือ short int,int และ long int ซึ่งแต่ละระดับนั้นจะมีขอบเขตการใช้งานที่แตกต่างกัน ดังแสดงในตารางที่ 2-1&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-color: white; color: black; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; text-align: justify; width: 571px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;115&quot;&gt;&lt;br /&gt;&lt;strong&gt;ชนิดข้อมูล&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;86&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;คิดเครื่อง&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;หมาย&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;ขนาด(ไบต์)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;จำนวนบิต&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;ค่าน้อยที่สุด&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;ค่ามากที่สุด&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;115&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
Short int&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;86&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
คิด&lt;br /&gt;ไม่คิด&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
2&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
16&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
-32,768&lt;br /&gt;0&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
32,768&lt;br /&gt;65,535&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;115&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
Int&lt;br /&gt;(16 บิต)&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;86&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
คิด&lt;br /&gt;ไม่คิด&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
2&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
16&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
-32,768&lt;br /&gt;0&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
32,768&lt;br /&gt;65,535&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;115&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
Int&lt;br /&gt;(32 บิต)&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;86&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
คิด&lt;br /&gt;ไม่คิด&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
4&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
32&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
-2,147,486,643&lt;br /&gt;0&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
2,147,486,643&lt;br /&gt;4,294,967,295&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;115&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
Long int&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;86&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
คิด&lt;br /&gt;ไม่คิด&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
4&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;84&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
32&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
-2,147,486,643&lt;br /&gt;0&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;108&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
2,147,486,643&lt;br /&gt;4,294,967,295&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;strong&gt;ชนิดข้อมูลแบบอักษร หรือ&lt;/strong&gt;&amp;nbsp;Character Type (char)&lt;br /&gt;ข้อมูลชนิดนี้ก็คือ ตัวอักษรตั้งแต่ A-Z เลข 0-9 และสัญลักษณ์ต่าง ๆ ตามมาตรฐาน ACSII (American Standard Code Information Interchange) ซึ่งเมื่อกำหนดให้กับตัวแปรแล้วตัวแปรนั้นจะรับค่าได้เพียง 1 ตัวอักษรเท่านั้น และสามารถรับข้อมูลจำนวนเต็มตั้งแต่ถึง 127 จะใช้ขนาดหน่วยความจำ 1ไบต์หรือ 8 บิต&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;strong&gt;ชนิดข้อมูลแบบทศนิยม หรือ&lt;/strong&gt;&amp;nbsp;Floating Point Type (flat)&lt;br /&gt;เป็นข้อมูลชนิดตัวเลขที่มีจุดทศนิยม ซึ่งสามารถแบ่งออกเป็น 3 ระดับ คือ float, double และ long double แต่ละระดับนั้นจะมีขอบเขตที่แตกต่างกันในการใช้งาน ดังแสดงในตารางที่ 2-2&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;strong&gt;&amp;nbsp;ตารางที่ 2-2 แสดงรายละเอียดของชนิดข้อมูลแบบทศนิยม&lt;/strong&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-color: white; color: black; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; text-align: justify; width: 595px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;142&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;ชนิดข้อมูล&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;142&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;ขนาด(ไบต์)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;142&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;จำนวนบิต&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;169&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;ค่าที่น้อยที่สุด&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;142&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
float&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;142&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
4&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;142&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
32&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;169&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -38&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 38&lt;br /&gt;3.4-10&amp;nbsp;&amp;nbsp;&amp;nbsp; ถึง 3.4-10&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;142&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
double&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;142&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
8&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;142&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
64&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;169&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -308&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 308&lt;br /&gt;1.7*10&amp;nbsp;&amp;nbsp;&amp;nbsp; ถึง 1.7*10&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;142&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
long double&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;142&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
10&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;142&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
80&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;169&quot;&gt;&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -4932&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4932&lt;br /&gt;3.4*10&amp;nbsp;&amp;nbsp;&amp;nbsp; ถึง 1.1*10&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://c-languags.blogspot.com/feeds/258277219435952833/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-languags.blogspot.com/2013/01/blog-post.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/258277219435952833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/258277219435952833'/><link rel='alternate' type='text/html' href='http://c-languags.blogspot.com/2013/01/blog-post.html' title='ชนิดข้อมูล ในภาษาซี '/><author><name>KruAOF</name><uri>http://www.blogger.com/profile/13537754653311955101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='18' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj44oFZmVdgOXYdKuzq-OCf3ApDMJ8Wu7CsWSJ29pvAEfmPBSfbg0nLvxGE7tNLI-e7Zqz79pRMFOr7vtUP-QG3g6K983pwP9FJIr9vSPph92aJtnC7Q4_8X34E-E5BxsSbh3rONe2gOv0CE7ZPvesWbaxPIsPT6ImNnqM8XmnIcqprM_4/s220/365316522_6579082705519499_3098932423696851147_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771127464072471764.post-5650367933534635414</id><published>2013-01-28T05:54:00.002-08:00</published><updated>2013-01-28T05:55:00.340-08:00</updated><title type='text'>การตั้งชื่อ (Identifier) ในภาษาซี </title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;การตั้งชื่อ (Identifier)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;strong&gt;การตั้งชื่อ&lt;/strong&gt;&lt;br /&gt;
การตั้งชื่อ (Identifier) ให้กับตัวแปร ฟังก์ชันหรืออื่น ๆ มีกฎเกณฑ์ในการตั้งชื่อ ดังนี้&lt;br /&gt;
1.&amp;nbsp; ตัวแรกของชื่อจะต้องขึ้นต้องด้วยตัวอักษรหรือเครื่องหมาย _ เท่านั้น&lt;br /&gt;
2.&amp;nbsp; ตัวอักษรตั้งแต่ตัวที่ 2 สามารถเป็นตัวเลข หรือเครื่องหมาย_ก็ได้&lt;br /&gt;
3.&amp;nbsp; จะต้องไม่มีการเว้นวรรคภายในชื่อ แต่สามารถใช้เครื่อง_คั่นได้&lt;br /&gt;
4.&amp;nbsp; สามารถตั้งชื่อได้ยาไม่จำกัด แต่จะใช้ตัวอักษรแค่ 31 ตัวแรกในการอ้างอิง&lt;br /&gt;
5.&amp;nbsp; ชื่อที่ตั้งด้วยตัวอักษรพิมพ์ใหญ่และพิมพ์เล็ก จะถือว่าเป็นคนละตัวกัน&lt;br /&gt;
6.&amp;nbsp; ห้ามตั้งชื่อซ้ำกับคำสงวนของภาษา C&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;strong&gt;ตัวอย่างการตั้งที่ถูกและผิด&lt;/strong&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-color: white; color: black; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; text-align: justify;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;284&quot;&gt;&lt;br /&gt;
&lt;strong&gt;แบบที่ถูก&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;284&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;แบบที่ผิด&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;284&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
A&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;284&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;$sum&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;284&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;Student_name&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;284&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;Student Name&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;284&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;_SystemName&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;284&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;2names&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;284&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;A1&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 0.8em;&quot; valign=&quot;top&quot; width=&quot;284&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;strong&gt;int&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://c-languags.blogspot.com/feeds/5650367933534635414/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-languags.blogspot.com/2013/01/identifier.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/5650367933534635414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/5650367933534635414'/><link rel='alternate' type='text/html' href='http://c-languags.blogspot.com/2013/01/identifier.html' title='การตั้งชื่อ (Identifier) ในภาษาซี '/><author><name>KruAOF</name><uri>http://www.blogger.com/profile/13537754653311955101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='18' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj44oFZmVdgOXYdKuzq-OCf3ApDMJ8Wu7CsWSJ29pvAEfmPBSfbg0nLvxGE7tNLI-e7Zqz79pRMFOr7vtUP-QG3g6K983pwP9FJIr9vSPph92aJtnC7Q4_8X34E-E5BxsSbh3rONe2gOv0CE7ZPvesWbaxPIsPT6ImNnqM8XmnIcqprM_4/s220/365316522_6579082705519499_3098932423696851147_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771127464072471764.post-753978266419642866</id><published>2013-01-28T05:53:00.000-08:00</published><updated>2013-01-28T05:53:03.852-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Languages"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="ความหมาย"/><category scheme="http://www.blogger.com/atom/ns#" term="ตัวแปร"/><category scheme="http://www.blogger.com/atom/ns#" term="ภาษาซี"/><title type='text'>โครงสร้างของภาษา C</title><content type='html'>&lt;div style=&quot;text-align: -webkit-center;&quot;&gt;
&lt;span style=&quot;font-family: verdana, sans-serif; font-size: x-large;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;b&gt;โครงสร้างของภาษา C&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-center;&quot;&gt;
&lt;span style=&quot;font-family: verdana, sans-serif; font-size: x-large;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-center;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; text-align: justify;&quot;&gt;ภาษา C เป็นภาษาคอมพิวเตอร์ที่ถูกค้นคิดขึ้นโดย Denis Ritchie ในปี ค.ศ. 1970&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; text-align: justify;&quot;&gt;โดยใช้ระบบปฏิบัติการของยูนิกซ์ (UNIX) นับจากนั้นมาก็ได้รับความนิยมเพิ่มขั้นจนถึงปัจจุบัน ภาษา C สามารถติดต่อในระดับฮาร์ดแวร์ได้ดีกว่าภาษาระดับสูงอื่น ๆ ไม่ว่าจะเป็นภาษาเบสิกฟอร์แทน ขณะเดียวกันก็มีคุณสมบัติของภาษาระดับสูงอยู่ด้วย ด้วยเหตุผลดังกล่าวจึงจัดได้ว่าภาษา C เป็นภาษาระดับกลาง (Middle –lever language)&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; text-align: justify;&quot;&gt;ภาษา C เป็นภาษาคอมพิวเตอร์ชนิดคอมไพล์ (compiled Language) ซึ่งมีคอมไพลเลอร์ (Compiler) ทำหน้าที่ในการคอมไพล์ (Compile) หรือแปลงคำสั่งทั้งหมดในโปรแกรมให้เป็นภาษาเครื่อง (Machine Language) เพื่อให้เครื่องคอมพิวเตอร์นำคำสั่งเหล่านั้นไปทำงานต่อไป&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px;&quot;&gt;
โครงสร้างของภาษา C&lt;br /&gt;ทุกโปรแกรมของภาษา C มีโครงสร้างเป็นลักษณะดังรูป&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;img height=&quot;447&quot; src=&quot;http://itd.htc.ac.th/st_it50/it5016/nidz/Web_C/imgs/clip_image001_0001.gif&quot; style=&quot;border: 0px;&quot; width=&quot;506&quot; /&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Int main (void)&lt;br /&gt;{&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
เฮดเดอร์ไฟล์ (Header Files)&lt;br /&gt;เป็นส่วนที่เก็บไลบรารี่มาตรฐานของภาษา C ซึ่งจะถูกดึงเข้ามารวมกับโปรแกรมในขณะที่กำลังทำการคอมไพล์ โดยใช้คำสั่ง&lt;br /&gt;#include&amp;lt;ชื่อเฮดเดอร์ไฟล์&amp;gt; หรือ&lt;br /&gt;#include&amp;nbsp; “ชื่อเฮดเดอร์ไฟล์”&lt;br /&gt;ตัวอย่าง&lt;br /&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; เฮดเดอร์ไฟล์นี้จะมีส่วนขยายเป็น .h เสมอ และเฮดเดอร์ไฟล์เป็นส่วนที่จำเป็นต้องมีอย่างน้อย 1 เฮดเดอร์ไฟล์ ก็คือ เฮดเดอร์ไฟล์ stdio.h ซึ่งจะเป็นที่เก็บไลบรารี่มาตรฐานที่จัดการเกี่ยวกับอินพุตและเอาท์พุต&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;strong&gt;ส่วนตัวแปรแบบ Global (Global Variables)&lt;/strong&gt;&lt;br /&gt;เป็นส่วนที่ใช้ประกาศตัวแปรหรือค่าต่าง ๆ ที่ให้ใช้ได้ทั้งโปรแกรม ซึ่งใช้ได้ทั้งโปรแกรม&amp;nbsp; ซึ่งในส่วนไม่จำเป็นต้องมีก็ได้&lt;br /&gt;&lt;strong&gt;ฟังก์ชัน (Functions)&lt;/strong&gt;&lt;br /&gt;เป็นส่วนที่เก็บคำสั่งต่าง ๆ ไว้ ซึ่งในภาษา C จะบังคับให้มีฟังก์ชันอย่างน้อย 1 ฟังก์ชั่นนั่นคือ ฟังก์ชั่น Main() และในโปรแกรม 1 โปรแกรมสามารถมีฟังก์ชันได้มากกว่า 1 ฟังก์ชั่น&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;strong&gt;ส่วนตัวแปรแบบ Local (Local Variables)&lt;/strong&gt;&lt;br /&gt;เป็นส่วนที่ใช้สำหรับประกาศตัวแปรที่จะใช้ในเฉพาะฟังก์ชันของตนเอง ฟังก์ชั่นอื่นไม่สามารถเข้าถึงหรือใช้ได้ ซึ่งจะต้องทำการประกาศตัวแปรก่อนการใช้งานเสมอ&amp;nbsp; และจะต้องประกาศไว้ในส่วนนี้เท่านั้น&lt;br /&gt;ตัวแปรโปรแกรม (Statements)&lt;br /&gt;เป็นส่วนที่อยู่ถัดลงมาจากส่วนตัวแปรภายใน ซึ่งประกอบไปด้วยคำสั่งต่าง ๆ ของภาษา C และคำสั่งต่าง ๆ จะใช้เครื่องหมาย ; เพื่อเป็นการบอกให้รู้ว่าจบคำสั่งหนึ่ง ๆ แล้ว ส่วนใหญ่ คำสั่งต่าง ๆ ของภาษา C เขียนด้วยตัวพิมพ์เล็ก เนื่องจากภาษา C จะแยกความแตกต่างชองตัวพิมพ์เล็กและพิมพ์ใหญ่หรือ Case Sensitive นั่นเอง ยกตัวอย่างใช้ Test, test หรือจะถือว่าเป็นตัวแปรคนละตัวกัน นอกจากนี้ภาษา C ยังไม่สนใจกับการขึ้นบรรทัดใหม่ เพราะฉะนั้นผู้ใช้สามารถพิมพ์คำสั่งหลายคำสั่งในบรรทัดเดียวกันได้ โดยไม่เครื่องหมาย ; เป็นตัวจบคำสั่ง&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;strong&gt;ค่าส่งกลับ (Return Value)&lt;/strong&gt;&lt;br /&gt;เป็นส่วนที่บอกให้รู้ว่า ฟังก์ชันนี้จะส่งค่าอะไรกลับไปให้กับฟังก์ชั่นที่เรียกฟังก์ชั่น ซึ่งเรื่องนี้ผู้เขียนจะยกไปกล่าวในเรื่องฟังก์ชั่นอย่างละเอียดอีกทีหนึ่ง&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;strong&gt;หมายเหตุ (Comment)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;เป็นส่วนที่ใช้สำหรับแสดงข้อความเพื่ออธิบายสิ่งที่ต้องการในโปรแกรม ซึ่งจะใช้เครื่องหมาย /*และ */ ปิดหัวและปิดท้ายของข้อความที่ต้องการ&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; text-align: justify;&quot;&gt;
&lt;div style=&quot;padding: 15px 0px 0px;&quot;&gt;
&lt;img height=&quot;190&quot; src=&quot;http://itd.htc.ac.th/st_it50/it5016/nidz/Web_C/imgs/clip_image003_0000.gif&quot; style=&quot;border: 0px;&quot; width=&quot;484&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; text-align: justify;&quot;&gt;รูปที่ 2-2 แสดงการเขียนหมายเหตุหรือ Comment ในลักษณะต่าง ๆ&lt;/span&gt;&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 20px; padding: 15px 0px 0px; text-align: justify;&quot;&gt;
โปรแกรมที่ 2 – 1 โปรแกรมแรกสำหรับคุณ&lt;br /&gt;&lt;img height=&quot;265&quot; src=&quot;http://itd.htc.ac.th/st_it50/it5016/nidz/Web_C/imgs/clip_image004_0000.gif&quot; style=&quot;border: 0px;&quot; width=&quot;421&quot; /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://c-languags.blogspot.com/feeds/753978266419642866/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-languags.blogspot.com/2013/01/c.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/753978266419642866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/753978266419642866'/><link rel='alternate' type='text/html' href='http://c-languags.blogspot.com/2013/01/c.html' title='โครงสร้างของภาษา C'/><author><name>KruAOF</name><uri>http://www.blogger.com/profile/13537754653311955101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='18' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj44oFZmVdgOXYdKuzq-OCf3ApDMJ8Wu7CsWSJ29pvAEfmPBSfbg0nLvxGE7tNLI-e7Zqz79pRMFOr7vtUP-QG3g6K983pwP9FJIr9vSPph92aJtnC7Q4_8X34E-E5BxsSbh3rONe2gOv0CE7ZPvesWbaxPIsPT6ImNnqM8XmnIcqprM_4/s220/365316522_6579082705519499_3098932423696851147_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771127464072471764.post-5470362425658196914</id><published>2012-12-04T09:59:00.002-08:00</published><updated>2012-12-04T10:01:47.807-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Languages"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer"/><category scheme="http://www.blogger.com/atom/ns#" term="function"/><category scheme="http://www.blogger.com/atom/ns#" term="functions"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="ฟังก์ชัน"/><title type='text'>ฟังก์ชันพื้นฐานการเขียนโปรแกรมภาษา  C </title><content type='html'>&lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;strong class=&quot;txtblue&quot; style=&quot;font-family: &#39;MS Sans Serif&#39;, Tahoma, &#39;Times New Roman&#39;, sans-serif;&quot;&gt;&lt;span style=&quot;color: #20124d; font-size: large;&quot;&gt;1 ฟังก์ชันรับข้อมูล&amp;nbsp; (input functions)&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 12px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ในเนื้อหาฟังก์ชันการับข้อมูลของภาษา&amp;nbsp; C&amp;nbsp; มีฟังก์ชันที่ใช้ในการรับข้อมูลจากคีย์บอร์ด&amp;nbsp; อยู่หลายฟังก์ชันที่จะกล่าวถึง&amp;nbsp; ดังนี้คือ ฟังก์ชัน&amp;nbsp; scanf( ), ฟังก์ชัน&amp;nbsp; getchar( ), ฟังก์ชัน&amp;nbsp; getch( ), ฟังก์ชัน&amp;nbsp; getche( )&amp;nbsp; และฟังก์ชัน&amp;nbsp; gets( )&amp;nbsp; ซึ่งแต่ละฟังก์ชันมีรายละเอียดของการใช้งานดังนี้&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;strong class=&quot;txtorange&quot; style=&quot;color: #ff9900; font-family: &#39;MS Sans Serif&#39;, Tahoma, &#39;Times New Roman&#39;, sans-serif;&quot;&gt;1.1 ฟังก์ชัน&amp;nbsp; scanf( )&lt;/strong&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; เป็นฟังก์ชันที่ใช้ในการรับข้อมูล จากคีย์บอร์ดเข้าไปเก็บไว้ในตัวแปรที่กำหนดไว ้โดยสามารถรับข้อมูลที่เป็นตัวเลขจำนวนเต็ม&amp;nbsp; ตัวเลขทศนิยม&amp;nbsp; ตัวอักขระตัวเดียว หรือข้อความก็ได&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
้&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt;รูปแบบการใช้งานฟังก์ชัน&lt;/strong&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif; width: 188px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;txt&quot;&gt;&lt;div align=&quot;center&quot;&gt;
&lt;br /&gt;
scanf &amp;nbsp;(control &amp;nbsp; string,argument&amp;nbsp; list);&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; โดยที่&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt;control&amp;nbsp; string&lt;/strong&gt;&amp;nbsp; คือ&amp;nbsp; รหัสรูปแบบข้อมูล (format code)&amp;nbsp; โดยจะต้องเขียนอยู่ภายใต้เครื่องหมาย&amp;nbsp; “……..”&amp;nbsp; (double&amp;nbsp; quotation)&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt;argument list&lt;/strong&gt;&amp;nbsp;คือ&amp;nbsp; ชื่อตัวแปรที่ใช้เก็บข้อมูลโดยจะต้องใช้เครื่องหมาย&amp;nbsp; &amp;amp;&amp;nbsp; (ampersand)&amp;nbsp; นำหน้าชื่อตัวแปร&amp;nbsp; ยกเว้นตัวแปรชนิด&amp;nbsp; string&amp;nbsp; ไม่ต้องมีเครื่องหมาย&amp;nbsp; &amp;amp;&amp;nbsp; นำหน้าชื่อ&amp;nbsp; ถ้ามีตัวแปรมากกว่า&amp;nbsp; 1&amp;nbsp; ตัวแปร&amp;nbsp; ให้ใช้เครื่องหมาย&amp;nbsp; ,&amp;nbsp; (comma)&amp;nbsp; คั่นระหว่างตัวแปรแต่ละตัว&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;ตารางที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;1&amp;nbsp;&amp;nbsp;&lt;/strong&gt;แสดงรหัสแบบข้อมูล&amp;nbsp; ที่สามารถใช้ในฟังก์ชัน&amp;nbsp; scanf( )&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tablebor&quot; style=&quot;background-color: white; border: 1px solid rgb(153, 153, 153); font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;&lt;div align=&quot;center&quot;&gt;
&lt;strong&gt;รหัสรูปแบบ&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;(format&amp;nbsp; code)&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;425&quot;&gt;&lt;div align=&quot;center&quot;&gt;
&lt;strong&gt;ความหมาย&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;&lt;div align=&quot;center&quot;&gt;
%c&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;425&quot;&gt;&amp;nbsp; ใช้กับข้อมูลชนิดตัวอักขระตัวเดียว&amp;nbsp; (single&amp;nbsp; character :&amp;nbsp; char)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;&lt;div align=&quot;center&quot;&gt;
%d&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;425&quot;&gt;&amp;nbsp; ใช้กับข้อมูลชนิดตัวเลขจำนวนเต็ม (integer : int)&amp;nbsp; โดยสามารถใช้กับตัวเลขฐาน&amp;nbsp; 10&amp;nbsp; เท่านั้น&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;&lt;div align=&quot;center&quot;&gt;
%e&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;425&quot;&gt;&amp;nbsp; ใช้กับข้อมูลชนิดตัวเลขจุดทศนิยม&amp;nbsp; (floating&amp;nbsp; point : float)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;&lt;div align=&quot;center&quot;&gt;
%f, %lf&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;425&quot;&gt;ใช้กับข้อมูลชนิด&amp;nbsp; float&amp;nbsp; และ&amp;nbsp; double&amp;nbsp; ตามลำดับ&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;&lt;div align=&quot;center&quot;&gt;
%g&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;425&quot;&gt;ใช้กับข้อมูลชนิด&amp;nbsp; float&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;&lt;div align=&quot;center&quot;&gt;
%h&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;425&quot;&gt;ใช้กับข้อมูลชนิด&amp;nbsp; short&amp;nbsp; integer&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;&lt;div align=&quot;center&quot;&gt;
%l&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;425&quot;&gt;ใช้กับข้อมูลชนิด&amp;nbsp; int&amp;nbsp; โดยใช้กับตัวเลขฐาน 8, ฐาน 10 และฐาน 16&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;&lt;div align=&quot;center&quot;&gt;
%o&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;425&quot;&gt;ใช้กับข้อมูลชนิด&amp;nbsp; int&amp;nbsp; โดยสามารถใช้กับตัวเลขฐาน&amp;nbsp; 8&amp;nbsp; เท่านั้น&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;&lt;div align=&quot;center&quot;&gt;
%u&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;425&quot;&gt;ใช้กับข้อมูลชนิด&amp;nbsp; unsigned&amp;nbsp; int&amp;nbsp; โดยใช้กับตัวเลขฐาน&amp;nbsp; 10&amp;nbsp; เท่านั้น&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;&lt;div align=&quot;center&quot;&gt;
%x&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;425&quot;&gt;ใช้กับข้อมูลชนิด&amp;nbsp; int&amp;nbsp; โดยสามารถใช้กับตัวเลขฐาน&amp;nbsp; 16&amp;nbsp; เท่านั้น&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;123&quot;&gt;&lt;div align=&quot;center&quot;&gt;
%s&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;tablebor&quot; style=&quot;border: 1px solid rgb(153, 153, 153);&quot; valign=&quot;top&quot; width=&quot;425&quot;&gt;ใช้กับข้อมูลชนิด&amp;nbsp; string&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
ที่มา&amp;nbsp; :&amp;nbsp; Gottfried, S. Byron, 1990 : 481.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; เพื่อให้เกิดความเข้าใจการใช้งานฟังก์ชัน&amp;nbsp; scanf( )&amp;nbsp; ได้ดียิ่งขึ้นควรศึกษาโปรแกรมตัวอย่างที่ &amp;nbsp;1, 2&amp;nbsp; และ &amp;nbsp;3&amp;nbsp; ดังต่อไปนี้&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;strong&gt;โปรแกรมตัวอย่างที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;1&amp;nbsp;&amp;nbsp;&lt;/strong&gt;แสดงโปรแกรมการใช้ฟังก์ชัน&amp;nbsp; scanf( )&amp;nbsp; ในการรับข้อมูลจากคีย์บอร์ดเข้าไปเก็บไว้ในตัวแปรชนิดจำนวนเต็ม&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;txt&quot; style=&quot;width: 523px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;12&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;31&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_01.jpg&quot; width=&quot;12&quot; /&gt;&lt;/td&gt;&lt;td width=&quot;102&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;31&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_02.jpg&quot; width=&quot;102&quot; /&gt;&lt;/td&gt;&lt;td background=&quot;http://e-learning.snru.ac.th/els/program1/image/box_03.jpg&quot; width=&quot;360&quot;&gt;&lt;/td&gt;&lt;td width=&quot;34&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;31&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_04.jpg&quot; width=&quot;34&quot; /&gt;&lt;/td&gt;&lt;td width=&quot;15&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;31&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_05.jpg&quot; width=&quot;13&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td background=&quot;http://e-learning.snru.ac.th/els/program1/image/box_10.jpg&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; valign=&quot;top&quot;&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;strong&gt;/* &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf1.c &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&amp;nbsp; บรรทัดที่&amp;nbsp; 1&amp;nbsp; */&lt;br /&gt;
void main(void) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 2&amp;nbsp; */&lt;br /&gt;
{ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&amp;nbsp; บรรทัดที่&amp;nbsp; 3&amp;nbsp; */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int&amp;nbsp; a; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 4&amp;nbsp; */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scanf(&quot;%d&quot;, &amp;amp;a); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 5&amp;nbsp; */&lt;br /&gt;
} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 6&amp;nbsp; */&lt;/blockquote&gt;
&lt;/td&gt;&lt;td background=&quot;http://e-learning.snru.ac.th/els/program1/image/box_12.jpg&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;17&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_13.jpg&quot; width=&quot;12&quot; /&gt;&lt;/td&gt;&lt;td background=&quot;http://e-learning.snru.ac.th/els/program1/image/box_14.jpg&quot; colspan=&quot;3&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;17&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_15.jpg&quot; width=&quot;13&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;strong&gt;ผลลัพธ์ที่ได้จากโปรแกรม&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; หน้าจอว่าง ๆ&amp;nbsp; มีเคอร์เซอร์กระพริบเพื่อรอรับข้อมูลจากคีย์บอร์ด&amp;nbsp; (ข้อมูลที่ต้องการนั้นเป็นจำนวนเต็ม&amp;nbsp; เพื่อนำไปเก็บไว้ที่ตัวแปร&amp;nbsp; a)&amp;nbsp; ซึ่งผู้ใช้ควรเติมข้อมูลตัวเลขจำนวนเต็มเพื่อให้สัมพันธ์กับชนิดของตัวแปร&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;strong&gt;คำอธิบายโปรแกรม&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; จากโปรแกรมตัวอย่างที่ &amp;nbsp;1&amp;nbsp; สามารถอธิบายการทำงานของโปรแกรมที่สำคัญ ๆ&amp;nbsp; ได้ดังนี้&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;blockquote style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;บรรทัดที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;1&amp;nbsp;&lt;/strong&gt;&amp;nbsp;เป็นคำสั่งเรียกแฟ้มที่ชื่อว่า&amp;nbsp; stdio.h&amp;nbsp; ซึ่งภายในจะบรรจุคำสั่งหรือฟังก์ชันที่จำเป็นต้องใช้ในภาษา&amp;nbsp; C&amp;nbsp; เช่น&amp;nbsp; printf( )&lt;br /&gt;
&lt;strong&gt;บรรทัดที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;2&lt;/strong&gt;&amp;nbsp; เป็นฟังก์ชันหลักของโปรแกรม&amp;nbsp; และบอกให้&amp;nbsp; C compiler&amp;nbsp; รู้ว่าฟังก์ชัน&lt;br /&gt;
main( )&amp;nbsp; ไม่มีการส่งค่าข้อมูลและไม่มีการรับค่าข้อมูลกลับ&lt;br /&gt;
&lt;strong&gt;บรรทัดที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;3&lt;/strong&gt;&amp;nbsp; เป็นการแสดงจุดเริ่มต้นของฟังก์ชัน&amp;nbsp; main( )&lt;br /&gt;
&lt;strong&gt;บรรทัดที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;4&lt;/strong&gt;&amp;nbsp; เป็นการประกาศตัวแปรชื่อ&amp;nbsp; a&amp;nbsp; เป็นชนิดจำนวนเต็ม&amp;nbsp; หรือ&amp;nbsp; int&lt;br /&gt;
&lt;strong&gt;บรรทัดที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;5&lt;/strong&gt;&amp;nbsp; ฟังก์ชัน&amp;nbsp; scanf( )&amp;nbsp; เพื่อรอรับข้อมูลจากคีย์บอร์ดเข้าไปเก็บไว้ในตัวแปร&amp;nbsp; a&amp;nbsp; ซึ่งเป็นชนิดจำนวนเต็ม&lt;br /&gt;
&lt;strong&gt;บรรทัดที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;6&lt;/strong&gt;&amp;nbsp; เป็นการแสดงจุดสิ้นสุดของฟังก์ชัน&amp;nbsp; main( )&lt;strong&gt;&lt;/strong&gt;&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;โปรแกรมตัวอย่างที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;2&amp;nbsp;&lt;/strong&gt;แสดงโปรแกรมการใช้ฟังก์ชัน&amp;nbsp; scanf( )&amp;nbsp; ในการรับข้อมูลจากคีย์บอร์ดเข้าไปเก็บไว้ในตัวแปรชนิดจำนวนเต็ม&amp;nbsp; และนำค่าของตัวแปรออกแสดงผลที่จอภาพ&lt;br /&gt;
&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;txt&quot; style=&quot;width: 523px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;12&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;31&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_01.jpg&quot; width=&quot;12&quot; /&gt;&lt;/td&gt;&lt;td width=&quot;102&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;31&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_02.jpg&quot; width=&quot;102&quot; /&gt;&lt;/td&gt;&lt;td background=&quot;http://e-learning.snru.ac.th/els/program1/image/box_03.jpg&quot; width=&quot;360&quot;&gt;&lt;/td&gt;&lt;td width=&quot;34&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;31&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_04.jpg&quot; width=&quot;34&quot; /&gt;&lt;/td&gt;&lt;td width=&quot;15&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;31&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_05.jpg&quot; width=&quot;13&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td background=&quot;http://e-learning.snru.ac.th/els/program1/image/box_10.jpg&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; valign=&quot;top&quot;&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;strong&gt;/* &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf2.c &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/strong&gt;&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 1&amp;nbsp; */&lt;br /&gt;
&amp;nbsp;&amp;nbsp; void main(void) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 2&amp;nbsp; */&lt;br /&gt;
{ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 3&amp;nbsp; */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int&amp;nbsp; a; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&amp;nbsp; บรรทัดที่&amp;nbsp; 4&amp;nbsp; */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scanf(&quot;%d&quot;, &amp;amp;a); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 5&amp;nbsp; */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&quot;Your enter is ...%d&quot;, a); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&amp;nbsp; บรรทัดที่&amp;nbsp; 6&amp;nbsp; */&lt;br /&gt;
} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 7&amp;nbsp; */&lt;/blockquote&gt;
&lt;/td&gt;&lt;td background=&quot;http://e-learning.snru.ac.th/els/program1/image/box_12.jpg&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;17&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_13.jpg&quot; width=&quot;12&quot; /&gt;&lt;/td&gt;&lt;td background=&quot;http://e-learning.snru.ac.th/els/program1/image/box_14.jpg&quot; colspan=&quot;3&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;17&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_15.jpg&quot; width=&quot;13&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;/div&gt;
&lt;strong style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;ผลลัพธ์ที่ได้จากโปรแกรม&lt;/strong&gt;&lt;strong style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;img height=&quot;130&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/clip_image001_0007.gif&quot; width=&quot;452&quot; /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;strong&gt;ข้อสังเกต&lt;/strong&gt;&amp;nbsp; ในเอกสารเล่มนี้&amp;nbsp; ผลลัพธ์ที่ได้จากโปรแกรม&amp;nbsp; ถ้าตัวอักษรที่เป็นสีเข้มคือข้อความที่ให้ผู้ใช้พิมพ์ผ่านคีย์บอร์ด&amp;nbsp;&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;strong&gt;คำอธิบายโปรแกรม&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ในโปรแกรมตัวอย่างที่ &amp;nbsp;2&amp;nbsp; โปรแกรมจะรับข้อมูลจากคีย์บอร์ด ที่เป็นชนิดจำนวนเต็มเก็บไว้ในตัวแปร และนำค่าของตัวแปรแสดงผลออกจอภาพ&amp;nbsp; ด้วยคำสั่งบรรทัดที่&amp;nbsp; 6&amp;nbsp; คือ&amp;nbsp; printf(“Your enter is…%d”, a);&amp;nbsp; สำหรับฟังก์ชัน&amp;nbsp; printf( )&amp;nbsp; ผู้ใช้สามารถศึกษารายละเอียดเพิ่มเติมก่อนได้ในหัวข้อ &amp;nbsp;2.1&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;strong&gt;โปรแกรมตัวอย่างที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;3&amp;nbsp;&amp;nbsp;&lt;/strong&gt;แสดงโปรแกรมการใช้ฟังก์ชัน&amp;nbsp; scanf( )&amp;nbsp; ในการรับข้อมูลจากคีย์บอร์ดเข้าไปเก็บไว้ในตัวแปรชนิดตัวอักษร&amp;nbsp; เลขจำนวนเต็ม&amp;nbsp; และเลขทศนิยม&amp;nbsp; และนำค่าของตัวแปรออกแสดงผลที่จอภาพ&lt;br /&gt;
&lt;table align=&quot;center&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;txt&quot; style=&quot;width: 523px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;12&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;31&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_01.jpg&quot; width=&quot;12&quot; /&gt;&lt;/td&gt;&lt;td width=&quot;102&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;31&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_02.jpg&quot; width=&quot;102&quot; /&gt;&lt;/td&gt;&lt;td background=&quot;http://e-learning.snru.ac.th/els/program1/image/box_03.jpg&quot; width=&quot;360&quot;&gt;&lt;/td&gt;&lt;td width=&quot;34&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;31&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_04.jpg&quot; width=&quot;34&quot; /&gt;&lt;/td&gt;&lt;td width=&quot;15&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;31&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_05.jpg&quot; width=&quot;13&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td background=&quot;http://e-learning.snru.ac.th/els/program1/image/box_10.jpg&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; valign=&quot;top&quot;&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;strong&gt;/* &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf3.c &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/strong&gt;&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&amp;nbsp; บรรทัดที่&amp;nbsp; 1&amp;nbsp; */&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 2&amp;nbsp; */&lt;br /&gt;
void main(void) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 3&amp;nbsp; */&lt;br /&gt;
{&amp;nbsp;&amp;nbsp;&amp;nbsp; char name[50]; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&amp;nbsp; บรรทัดที่&amp;nbsp; 4&amp;nbsp; */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int&amp;nbsp; age; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&amp;nbsp; บรรทัดที่&amp;nbsp; 5&amp;nbsp; */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;float weight, height; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 6&amp;nbsp; */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;clrscr( ); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&amp;nbsp; บรรทัดที่&amp;nbsp; 7&amp;nbsp; */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&quot;Enter your Name and Age: &quot;); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&amp;nbsp; บรรทัดที่&amp;nbsp; 8&amp;nbsp; */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scanf(&quot;%s %d&quot;, name, &amp;amp;age); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 9&amp;nbsp; */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&quot;Enter your Weight and Height : &quot;); &amp;nbsp;/* บรรทัดที่ 10 /&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;scanf(&quot;%f %f&quot;, &amp;amp;weight, &amp;amp;height); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 10 */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&quot;\nYour name is ...%s.\n&quot;,name); &amp;nbsp; /*&amp;nbsp; บรรทัดที่&amp;nbsp; 11 */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&quot;You&amp;nbsp; are %d years old.\n&quot;,age); &amp;nbsp; &amp;nbsp;/*&amp;nbsp; บรรทัดที่&amp;nbsp; 13 */&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&quot;Your weight is ...%f cm.\n&quot;,weight); &amp;nbsp;/*บรรทัดที่ 14*/&lt;br /&gt;
printf(&quot;Your height is ...%f cm.\n&quot;,height); &amp;nbsp; &amp;nbsp;/*&amp;nbsp; บรรทัดที่&amp;nbsp; 15 */&lt;br /&gt;
} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *&amp;nbsp; บรรทัดที่&amp;nbsp; 16 */&lt;/blockquote&gt;
&lt;/td&gt;&lt;td background=&quot;http://e-learning.snru.ac.th/els/program1/image/box_12.jpg&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;17&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_13.jpg&quot; width=&quot;12&quot; /&gt;&lt;/td&gt;&lt;td background=&quot;http://e-learning.snru.ac.th/els/program1/image/box_14.jpg&quot; colspan=&quot;3&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;img alt=&quot;&quot; height=&quot;17&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/box_15.jpg&quot; width=&quot;13&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;strong&gt;ผลลัพธ์ที่ได้จากโปรแกรม&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;br /&gt;
&lt;img alt=&quot;แผนผังลำดับงาน: จอภาพ: Enter your Name and Age: KANNIKAR  25  Enter your Weight and Height : 155.5  45.5  Your name is ...KANNIKAR.  You  are 25 years old.  Your weight is ...155.500000 cm.  Your height is ...45.500000 cm.  &quot; height=&quot;183&quot; src=&quot;http://e-learning.snru.ac.th/els/program1/image/clip_image002_0005.gif&quot; width=&quot;375&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;strong&gt;คำอธิบายโปรแกรม&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; จากโปรแกรมตัวอย่างที่ &amp;nbsp;3&amp;nbsp; สามารถอธิบายการทำงานของโปรแกรมที่สำคัญ ๆ ได้ดังต่อไปนี้&lt;/div&gt;
&lt;blockquote style=&quot;background-color: white; font-family: &#39;MS Sans Serif&#39;, Tahoma, sans-serif;&quot;&gt;
&lt;br /&gt;
&lt;strong&gt;บรรทัดที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;4&amp;nbsp;&amp;nbsp;&lt;/strong&gt;เป็นการชุดชนิด&amp;nbsp; char&amp;nbsp; ซึ่งจองไว้&amp;nbsp; 50&amp;nbsp; ตัวอักษร&amp;nbsp; (เรื่องตัวแปรชุดได้อธิบายรายละเอียดไว้ในบทที่&amp;nbsp; 5)&lt;br /&gt;
&lt;strong&gt;บรรทัดที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;7&lt;/strong&gt;&amp;nbsp; ฟังก์ชัน&amp;nbsp; clrscr( )&amp;nbsp; ใช้ลบข้อความใด ๆ&amp;nbsp; ออกจากจอภาพ&amp;nbsp; ซึ่งจะเรียกใช้งานควบคู่กับแฟ้มที่ชื่อ&amp;nbsp; conio.h&amp;nbsp; ดังนั้นก่อนฟังก์ชัน&amp;nbsp; main( )&amp;nbsp; จึงต้องเรียกใช้&amp;nbsp; #include &amp;lt;conio.h&amp;gt;&amp;nbsp; ก่อน&amp;nbsp; (บรรทัดที่&amp;nbsp; 2)&lt;br /&gt;
&lt;strong&gt;บรรทัดที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;8&lt;/strong&gt;&amp;nbsp; จะแสดงข้อความและรอรับค่า&amp;nbsp; Name&amp;nbsp; และ&amp;nbsp; Age&amp;nbsp; จากผู้ใช้&amp;nbsp; ดังนั้นเวลาเติมข้อมูลให้เว้นช่องว่างอย่างน้อย&amp;nbsp; 1&amp;nbsp; ช่อง&amp;nbsp; เพื่อแยกข้อมูล&amp;nbsp; Name&amp;nbsp; กับ&amp;nbsp; Age&lt;br /&gt;
&lt;strong&gt;บรรทัดที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;9&lt;/strong&gt;&amp;nbsp; จะรับข้อมูลจากคีย์บอร์ด&amp;nbsp; 2&amp;nbsp; ค่า&amp;nbsp; มาเก็บไว้ในตัวแปร&amp;nbsp; name&amp;nbsp; เป็นข้อความ&amp;nbsp; และเก็บในตัวแปร&amp;nbsp; age&amp;nbsp; เป็นตัวเลขจำนวนเต็ม&lt;br /&gt;
&lt;strong&gt;บรรทัดที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;10&lt;/strong&gt;&amp;nbsp; จะทำงานคล้ายกับบรรทัดที่&amp;nbsp; 8&amp;nbsp; แต่จะรับข้อมูลที่เป็นตัวเลขทศนิยม&lt;br /&gt;
&lt;strong&gt;บรรทัดที่&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;11 – 15&lt;/strong&gt;&amp;nbsp; จะนำข้อมูลที่เก็บไว้ในตัวแปรต่าง ๆ&amp;nbsp; ออกมาแสดงผลที่จอภาพตามรหัสรูปแบบข้อมูลต่าง ๆ&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://c-languags.blogspot.com/feeds/5470362425658196914/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-languags.blogspot.com/2012/12/c.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/5470362425658196914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/5470362425658196914'/><link rel='alternate' type='text/html' href='http://c-languags.blogspot.com/2012/12/c.html' title='ฟังก์ชันพื้นฐานการเขียนโปรแกรมภาษา  C '/><author><name>KruAOF</name><uri>http://www.blogger.com/profile/13537754653311955101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='18' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj44oFZmVdgOXYdKuzq-OCf3ApDMJ8Wu7CsWSJ29pvAEfmPBSfbg0nLvxGE7tNLI-e7Zqz79pRMFOr7vtUP-QG3g6K983pwP9FJIr9vSPph92aJtnC7Q4_8X34E-E5BxsSbh3rONe2gOv0CE7ZPvesWbaxPIsPT6ImNnqM8XmnIcqprM_4/s220/365316522_6579082705519499_3098932423696851147_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771127464072471764.post-1376998667731188597</id><published>2012-07-30T08:55:00.001-07:00</published><updated>2012-07-30T08:55:06.196-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Languages"/><category scheme="http://www.blogger.com/atom/ns#" term="Reserved Words"/><category scheme="http://www.blogger.com/atom/ns#" term="คำสงวน"/><category scheme="http://www.blogger.com/atom/ns#" term="ภาษาซี"/><title type='text'>คำสงวนของภาษาซี (Reserved Words)</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: #000099;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: x-large;&quot;&gt;คำสงวน (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #000099;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: x-large;&quot;&gt;Reserved Words&lt;/span&gt;&lt;span lang=&quot;TH&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: x-large;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Angsana New&#39;, serif; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4SQqduEFqngXgF058PPH8SCMFdirgtlVhR-O1S0rmCh95sVaih0uSImRs0FBmTkZnbVmkeyj5j44QFyom1_Ygyh4HPpeFz53ZIHc82QUttg-C-RQr3-jh40AlGjeXOvgLWgsjlFXaEBXA/s1600/RESERVED-BTOWEL_05.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4SQqduEFqngXgF058PPH8SCMFdirgtlVhR-O1S0rmCh95sVaih0uSImRs0FBmTkZnbVmkeyj5j44QFyom1_Ygyh4HPpeFz53ZIHc82QUttg-C-RQr3-jh40AlGjeXOvgLWgsjlFXaEBXA/s320/RESERVED-BTOWEL_05.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 100.0%;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;padding: .75pt .75pt .75pt .75pt;&quot;&gt;
  &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: #000099; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;คำสงวน (Reserved Words) คือคำที่กำหนดขึ้นในภาษาซีเพื่อให้มีความหมายอย่างใดอย่างหนึ่ง
  และนำไปใช้งานแตกต่างกัน การประกาศค่าตัวแปรจะต้องไม่ให้ซ้ำกับคำสงวน&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableLightShadingAccent6&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid #E36C0A .5pt; mso-border-insideh-themecolor: accent6; mso-border-insideh-themeshade: 191; mso-border-insideh: .5pt solid #E36C0A; mso-border-insidev-themecolor: accent6; mso-border-insidev-themeshade: 191; mso-border-insidev: .5pt solid #E36C0A; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184; width: 99.88%;&quot;&gt;
   &lt;tbody&gt;
&lt;tr style=&quot;height: 23.4pt; mso-yfti-firstrow: yes; mso-yfti-irow: -1;&quot;&gt;
    &lt;td style=&quot;border: solid #E36C0A 1.0pt; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 5; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Auto&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-left: none; border: solid #E36C0A 1.0pt; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 1; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Break&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-left: none; border: solid #E36C0A 1.0pt; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 1; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Case&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-left: none; border: solid #E36C0A 1.0pt; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 1; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Char&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-left: none; border: solid #E36C0A 1.0pt; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 1; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Const&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;height: 23.4pt; mso-yfti-irow: 0;&quot;&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 68; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Default&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Double&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Enum&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;height: 23.4pt; mso-yfti-irow: 1;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid #E36C0A 1.0pt; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 4; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Short&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Signed&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Sizeof&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Extern&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Float&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;height: 23.4pt; mso-yfti-irow: 2;&quot;&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 68; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;For&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Goto&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Int&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Long&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;height: 23.4pt; mso-yfti-irow: 3;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid #E36C0A 1.0pt; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 4; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Return&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Register&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Continue&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;While&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; height: 23.4pt; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Static&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;height: 23.4pt; mso-yfti-irow: 4;&quot;&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 68; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Struct&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Switch&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Typedef&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Unon&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #FDE4D0; border-bottom: solid #E36C0A 1.0pt; border: none; height: 23.4pt; mso-background-themecolor: accent6; mso-background-themetint: 63; mso-border-bottom-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-bottom-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Unsigned&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;height: 24.05pt; mso-yfti-irow: 5; mso-yfti-lastrow: yes;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid #E36C0A 1.0pt; height: 24.05pt; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 4; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;Void&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; height: 24.05pt; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #e36c0a; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent6; mso-themeshade: 191;&quot;&gt;volatile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; height: 24.05pt; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; height: 24.05pt; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; height: 24.05pt; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;/td&gt;
   &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;padding: .75pt .75pt .75pt .75pt;&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-bidi-font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 21px; line-height: 24px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #000099;&quot;&gt;&lt;span lang=&quot;TH&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-languags.blogspot.com/feeds/1376998667731188597/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-languags.blogspot.com/2012/07/reserved-words.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/1376998667731188597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/1376998667731188597'/><link rel='alternate' type='text/html' href='http://c-languags.blogspot.com/2012/07/reserved-words.html' title='คำสงวนของภาษาซี (Reserved Words)'/><author><name>KruAOF</name><uri>http://www.blogger.com/profile/13537754653311955101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='18' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj44oFZmVdgOXYdKuzq-OCf3ApDMJ8Wu7CsWSJ29pvAEfmPBSfbg0nLvxGE7tNLI-e7Zqz79pRMFOr7vtUP-QG3g6K983pwP9FJIr9vSPph92aJtnC7Q4_8X34E-E5BxsSbh3rONe2gOv0CE7ZPvesWbaxPIsPT6ImNnqM8XmnIcqprM_4/s220/365316522_6579082705519499_3098932423696851147_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4SQqduEFqngXgF058PPH8SCMFdirgtlVhR-O1S0rmCh95sVaih0uSImRs0FBmTkZnbVmkeyj5j44QFyom1_Ygyh4HPpeFz53ZIHc82QUttg-C-RQr3-jh40AlGjeXOvgLWgsjlFXaEBXA/s72-c/RESERVED-BTOWEL_05.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771127464072471764.post-7480071687230965542</id><published>2012-07-30T08:47:00.002-07:00</published><updated>2012-07-30T08:47:25.490-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Languages"/><category scheme="http://www.blogger.com/atom/ns#" term="variable"/><category scheme="http://www.blogger.com/atom/ns#" term="ตัวแปร"/><category scheme="http://www.blogger.com/atom/ns#" term="ภาษาซี"/><title type='text'>ตัวแปรของภาษาซี (variable)</title><content type='html'>&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 100.0%;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;padding: .75pt .75pt .75pt .75pt;&quot;&gt;
  &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8-XwbcsSf1TaFAo4eElkZz7sfiE0lXXHYCBPaZN7_7F-Z9S0apCiOWNiUinBRL34lf05FWAfeBdai6AZBPT2uTfNDHoMNaWGe-yeVKZjPWUZViBLn6iJpblrSieLde8nDtxIG7sG0BwfU/s1600/111.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;319&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8-XwbcsSf1TaFAo4eElkZz7sfiE0lXXHYCBPaZN7_7F-Z9S0apCiOWNiUinBRL34lf05FWAfeBdai6AZBPT2uTfNDHoMNaWGe-yeVKZjPWUZViBLn6iJpblrSieLde8nDtxIG7sG0BwfU/s320/111.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: #000099; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span lang=&quot;TH&quot;&gt;ตัวแปร (&lt;/span&gt;variable)&amp;nbsp; &lt;span lang=&quot;TH&quot;&gt;คือชื่อที่ผู้เขียนโปรแกรมตั้งขึ้น
  เพื่อใช้เก็บค่าที่ต้องการนำมาใช้งานในการเขียนโปรแกรม เพื่อทำการประมวลผลข้อมูล
  โดยมีกฏในการตั้งชื่อตัวแปรดังนี้&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184; width: 100.0%;&quot;&gt;
   &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
    &lt;td style=&quot;border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 6.0%;&quot; valign=&quot;top&quot; width=&quot;6%&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-left: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 94.0%;&quot; valign=&quot;top&quot; width=&quot;94%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ต้องขึ้นต้นด้วยตัวอักษร
    ตัวต่อไปอาจจะเป็นตัวอักษรหรือตัวเลขก็ได้&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ห้ามใช้สัญลักษณ์อื่นใด
    ยกเว้นเครื่องหมายสตริงก์ (&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;$) &lt;span lang=&quot;TH&quot;&gt;และขีดล่าง (&lt;/span&gt;Underscore)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;3.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ตัวแปรอักษรภาษาอังกฤษตัวพิมพ์เล็กและตัวพิมพ์ใหญ่มีความหมายแตกต่างกัน&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;4.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ห้ามเว้นวรรคระหว่างตัวแปร&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4; mso-yfti-lastrow: yes;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;5.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ห้ามตั้งชื่อซ้ำกับคำสงวนในภาษาซี&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: magenta; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
  &lt;/span&gt;&lt;span lang=&quot;TH&quot; style=&quot;color: #000099; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ก่อนที่จะนำตัวแปรไปใช้งาน
  ในภาษาซีจะต้องมีการประกาศค่าตัวแปรให้สอดคล้องกับข้อมูลที่จะนำไปใช้โดยมีรูปแบบดังนี้&lt;/span&gt;&lt;span style=&quot;color: #000099; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableLightListAccent5&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid #E36C0A .5pt; mso-border-insideh-themecolor: accent6; mso-border-insideh-themeshade: 191; mso-border-insideh: .5pt solid #E36C0A; mso-border-insidev-themecolor: accent6; mso-border-insidev-themeshade: 191; mso-border-insidev: .5pt solid #E36C0A; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184; width: 100.0%;&quot;&gt;
   &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: -1;&quot;&gt;
    &lt;td style=&quot;background: #4BACC6; border: solid #E36C0A 1.0pt; mso-background-themecolor: accent5; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 5; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;TH&quot; style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;รูปแบบ&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #4BACC6; border-left: none; border: solid #E36C0A 1.0pt; mso-background-themecolor: accent5; mso-border-alt: solid #E36C0A .5pt; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 1;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Type varible name&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: white; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: background1;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 0;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid #E36C0A 1.0pt; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 68; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ชนิดของตัวแปร ซึ่งอาจจะป็น &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;char, int, float, double &lt;span lang=&quot;TH&quot;&gt;หรือตัวแปรชนิดอื่นๆ
    เป็นต้น&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1; mso-yfti-lastrow: yes;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid #E36C0A 1.0pt; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 4; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;variable name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ชื่อของตัวแปร ถ้ามีมากกว่า &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;1 &lt;span lang=&quot;TH&quot;&gt;ตัวให้ใช้เครื่องหมายคอมม่าคั่น&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;b&gt;&lt;u style=&quot;text-underline: double;&quot;&gt;&lt;span lang=&quot;TH&quot; style=&quot;color: #000099; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ตัวอย่างการประกาศตัวแปร&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u style=&quot;text-underline: double;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableLightListAccent6&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid #E36C0A .5pt; mso-border-insideh-themecolor: accent6; mso-border-insideh-themeshade: 191; mso-border-insideh: .5pt solid #E36C0A; mso-border-insidev-themecolor: accent6; mso-border-insidev-themeshade: 191; mso-border-insidev: .5pt solid #E36C0A; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184; width: 100.0%;&quot;&gt;
   &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: -1;&quot;&gt;
    &lt;td style=&quot;background: #F79646; border: solid #E36C0A 1.0pt; mso-background-themecolor: accent6; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 20.38%;&quot; valign=&quot;top&quot; width=&quot;20%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 5;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;char n;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: white; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: background1;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #F79646; border-left: none; border: solid #E36C0A 1.0pt; mso-background-themecolor: accent6; mso-border-alt: solid #E36C0A .5pt; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 79.62%;&quot; valign=&quot;top&quot; width=&quot;79%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 1;&quot;&gt;
&lt;b&gt;&lt;span lang=&quot;TH&quot; style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ประกาศค่าตัวแปรชื่อ &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;n &lt;span lang=&quot;TH&quot;&gt;เป็นข้อมูลชนิด &lt;/span&gt;character&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: white; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: background1;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 0;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid #E36C0A 1.0pt; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 20.38%;&quot; valign=&quot;top&quot; width=&quot;20%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 68;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;float a,b,c;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 79.62%;&quot; valign=&quot;top&quot; width=&quot;79%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ประกาศค่าตัวแปรชื่อ &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;a,b,c &lt;span lang=&quot;TH&quot;&gt;เป็นข้อมูลชนิด &lt;/span&gt;float&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid #E36C0A 1.0pt; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 20.38%;&quot; valign=&quot;top&quot; width=&quot;20%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 4;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;int number=1;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 79.62%;&quot; valign=&quot;top&quot; width=&quot;79%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ประกาศค่าตัวแปรชื่อ &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;number &lt;span lang=&quot;TH&quot;&gt;เป็นข้อมูลชนิด &lt;/span&gt;integer &lt;span lang=&quot;TH&quot;&gt;และกำหนดให้ตัวแปร &lt;/span&gt;count
    &lt;br /&gt;
    &lt;span lang=&quot;TH&quot;&gt;มีค่าเท่ากับ &lt;/span&gt;1&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2; mso-yfti-lastrow: yes;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid #E36C0A 1.0pt; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 20.38%;&quot; valign=&quot;top&quot; width=&quot;20%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 68;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;char name[15];&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 79.62%;&quot; valign=&quot;top&quot; width=&quot;79%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ประกาศตัวแปรชื่อ &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;name &lt;span lang=&quot;TH&quot;&gt;เป็นลักษณะตัวแปรชุดเก็บชื่อยาวไม่เกิน &lt;/span&gt;15
    &lt;span lang=&quot;TH&quot;&gt;ตัวอักษร&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;padding: .75pt .75pt .75pt .75pt;&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-languags.blogspot.com/feeds/7480071687230965542/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-languags.blogspot.com/2012/07/variable.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/7480071687230965542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/7480071687230965542'/><link rel='alternate' type='text/html' href='http://c-languags.blogspot.com/2012/07/variable.html' title='ตัวแปรของภาษาซี (variable)'/><author><name>KruAOF</name><uri>http://www.blogger.com/profile/13537754653311955101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='18' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj44oFZmVdgOXYdKuzq-OCf3ApDMJ8Wu7CsWSJ29pvAEfmPBSfbg0nLvxGE7tNLI-e7Zqz79pRMFOr7vtUP-QG3g6K983pwP9FJIr9vSPph92aJtnC7Q4_8X34E-E5BxsSbh3rONe2gOv0CE7ZPvesWbaxPIsPT6ImNnqM8XmnIcqprM_4/s220/365316522_6579082705519499_3098932423696851147_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8-XwbcsSf1TaFAo4eElkZz7sfiE0lXXHYCBPaZN7_7F-Z9S0apCiOWNiUinBRL34lf05FWAfeBdai6AZBPT2uTfNDHoMNaWGe-yeVKZjPWUZViBLn6iJpblrSieLde8nDtxIG7sG0BwfU/s72-c/111.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771127464072471764.post-3207402434225327938</id><published>2012-07-30T08:34:00.001-07:00</published><updated>2012-07-30T08:34:57.963-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Languages"/><category scheme="http://www.blogger.com/atom/ns#" term="Computer"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="คอมพิวเตอร์"/><category scheme="http://www.blogger.com/atom/ns#" term="ภาษาซี"/><title type='text'>โครงสร้างของโปรแกรมภาษาซี</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiwhzeIrmVERnel5Ek8cO1KktSdwh-tENZKdoJW0cm2adq972bta3vUF_KhRCpWkF92v6mfE2f9TKKEEbNBwdCgReG8kecgeP92tDNPC6a8KO62nXRDkvSeVzh-gYAzpxmtK4iXDaih_rn/s1600/20111117180002.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiwhzeIrmVERnel5Ek8cO1KktSdwh-tENZKdoJW0cm2adq972bta3vUF_KhRCpWkF92v6mfE2f9TKKEEbNBwdCgReG8kecgeP92tDNPC6a8KO62nXRDkvSeVzh-gYAzpxmtK4iXDaih_rn/s1600/20111117180002.jpeg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; text-align: center;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Angsana New&#39;, serif; font-size: 19px; line-height: normal; text-align: justify;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;โปรแกรมภาษาซีมีองค์ประกอบที่สำคัญ
&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;2 &lt;span lang=&quot;TH&quot;&gt;ส่วนคือไฟล์ส่วนหัวโปรแกรม
และไฟล์โปรแกรม ไฟล์ส่วนหัวโปรแกรมเป็นไฟล์ที่ใช้เก็บไลบราลีเพื่อใช้รวม (&lt;/span&gt;include)
&lt;span lang=&quot;TH&quot;&gt;ในการคอมไพล์โปรแกรมซึ่งจะมีส่วนขยายเป็น *.&lt;/span&gt;h &lt;span lang=&quot;TH&quot;&gt;มีชื่อเรียกว่า
&lt;/span&gt;Compiler Directive &lt;span lang=&quot;TH&quot;&gt;ไฟล์โปรแกรมจะเริ่มต้นด้วยฟังก์ชัน &lt;/span&gt;main()
&lt;span lang=&quot;TH&quot;&gt;และตามด้วยเครื่องหมายปีกกาเปิด เพื่อเริ่มต้นเขียนโปรแกรม
การเขียนโปรแกรมจะต้องเขียนด้วยอักษรภาษาอังกฤษตัวพิมพ์เล็กเท่านั้น
และเมื่อจบประโยคคำสั่ง จะใช้เครื่องหมายเซมิโคล่อน ( &lt;/span&gt;; ) &lt;span lang=&quot;TH&quot;&gt;ในการคั่นแต่ละคำสั่ง
ภายในโปรแกรมจะประกอบด้วยฟังก์ชั่นและส่วนของคำอธิบาย เมื่อเขียนคำสั่งเสร็จจะปิดท้ายโปรแกรมด้วยเครื่องหมายปีกกาปิดเสมอ&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;font-family: &#39;Angsana New&#39;, serif; font-size: 19px; width: 106.24%;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;padding: .75pt .75pt .75pt .75pt; width: 99.38%;&quot; width=&quot;99%&quot;&gt;
  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;
  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;TH&quot;&gt;รูปภาพ
  แสดงโครงสร้างของโปรแกรมภาษาซี&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableLightShadingAccent5&quot; style=&quot;border-collapse: collapse; border: none; mso-border-bottom-alt: solid #4BACC6 1.0pt; mso-border-bottom-themecolor: accent5; mso-border-top-alt: solid #4BACC6 1.0pt; mso-border-top-themecolor: accent5; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184; width: 100.0%;&quot;&gt;
   &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: -1;&quot;&gt;
    &lt;td style=&quot;border-bottom: solid #4BACC6 1.0pt; border-left: none; border-right: none; border-top: solid #4BACC6 1.0pt; mso-border-bottom-themecolor: accent5; mso-border-top-themecolor: accent5; padding: 0cm 5.4pt 0cm 5.4pt; width: 7.34%;&quot; valign=&quot;top&quot; width=&quot;7%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 5;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;border-bottom: solid #4BACC6 1.0pt; border-left: none; border-right: none; border-top: solid #4BACC6 1.0pt; mso-border-bottom-themecolor: accent5; mso-border-top-themecolor: accent5; padding: 0cm 5.4pt 0cm 5.4pt; width: 32.68%;&quot; valign=&quot;top&quot; width=&quot;32%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 1;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #31849b; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent5; mso-themeshade: 191;&quot;&gt;#include&amp;lt;library&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #4BACC6 1.0pt; border-left: none; border-right: none; border-top: solid #4BACC6 1.0pt; mso-border-bottom-themecolor: accent5; mso-border-top-themecolor: accent5; padding: 0cm 5.4pt 0cm 5.4pt; width: 58.66%;&quot; valign=&quot;top&quot; width=&quot;58%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 1;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #31849b; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent5; mso-themeshade: 191;&quot;&gt;/* &lt;span lang=&quot;TH&quot;&gt;ไฟล์ส่วนหัวโปรแกรม*/&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 0;&quot;&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;background: #D2EAF1; border: none; mso-background-themecolor: accent5; mso-background-themetint: 63; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 68;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #D2EAF1; border: none; mso-background-themecolor: accent5; mso-background-themetint: 63; padding: 0cm 5.4pt 0cm 5.4pt; width: 32.34%;&quot; valign=&quot;top&quot; width=&quot;32%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;
&lt;span style=&quot;color: #31849b; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent5; mso-themeshade: 191;&quot;&gt;void main(void)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #D2EAF1; border: none; mso-background-themecolor: accent5; mso-background-themetint: 63; padding: 0cm 5.4pt 0cm 5.4pt; width: 58.66%;&quot; valign=&quot;top&quot; width=&quot;58%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;
&lt;span style=&quot;color: #31849b; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent5; mso-themeshade: 191;&quot;&gt;/*&lt;span lang=&quot;TH&quot;&gt;ฟังก์ชันหลักของโปรแกรม*/&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;border: none; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 4;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 32.34%;&quot; valign=&quot;top&quot; width=&quot;32%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: #31849b; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent5; mso-themeshade: 191;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 58.66%;&quot; valign=&quot;top&quot; width=&quot;58%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: #31849b; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent5; mso-themeshade: 191;&quot;&gt;/*&lt;span lang=&quot;TH&quot;&gt;เริ่มต้นการเขียนโปรแกรมด้วยเครื่องหมายปีกกาเปิด*/&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;background: #D2EAF1; border: none; mso-background-themecolor: accent5; mso-background-themetint: 63; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 68;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #D2EAF1; border: none; mso-background-themecolor: accent5; mso-background-themetint: 63; padding: 0cm 5.4pt 0cm 5.4pt; width: 32.34%;&quot; valign=&quot;top&quot; width=&quot;32%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;
&lt;span style=&quot;color: #31849b; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent5; mso-themeshade: 191;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    variable declaration;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #D2EAF1; border: none; mso-background-themecolor: accent5; mso-background-themetint: 63; padding: 0cm 5.4pt 0cm 5.4pt; width: 58.66%;&quot; valign=&quot;top&quot; width=&quot;58%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;
&lt;span style=&quot;color: #31849b; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent5; mso-themeshade: 191;&quot;&gt;/*&lt;span lang=&quot;TH&quot;&gt;การประกาศค่าตัวแปรที่ใช้ในโปรแกรม*/&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;border: none; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 4;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 32.34%;&quot; valign=&quot;top&quot; width=&quot;32%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: #31849b; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent5; mso-themeshade: 191;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; program statement;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border: none; padding: 0cm 5.4pt 0cm 5.4pt; width: 58.66%;&quot; valign=&quot;top&quot; width=&quot;58%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: #31849b; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent5; mso-themeshade: 191;&quot;&gt;/*&lt;span lang=&quot;TH&quot;&gt;ประโยคคำสั่งในโปรแกรม*/&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4; mso-yfti-lastrow: yes;&quot;&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;background: #D2EAF1; border-bottom: solid #4BACC6 1.0pt; border: none; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-bottom-themecolor: accent5; padding: 0cm 5.4pt 0cm 5.4pt;&quot; valign=&quot;top&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 68;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #D2EAF1; border-bottom: solid #4BACC6 1.0pt; border: none; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-bottom-themecolor: accent5; padding: 0cm 5.4pt 0cm 5.4pt; width: 32.34%;&quot; valign=&quot;top&quot; width=&quot;32%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;
&lt;span style=&quot;color: #31849b; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent5; mso-themeshade: 191;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #D2EAF1; border-bottom: solid #4BACC6 1.0pt; border: none; mso-background-themecolor: accent5; mso-background-themetint: 63; mso-border-bottom-themecolor: accent5; padding: 0cm 5.4pt 0cm 5.4pt; width: 58.66%;&quot; valign=&quot;top&quot; width=&quot;58%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;
&lt;span style=&quot;color: #31849b; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-themecolor: accent5; mso-themeshade: 191;&quot;&gt;/*&lt;span lang=&quot;TH&quot;&gt;จบการเขียนโปรแกรมด้วยเครื่องหมายปีกกาปิด*/&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;!--[if !supportMisalignedColumns]--&gt;
&lt;tr height=&quot;0&quot;&gt;
    &lt;td style=&quot;border: none;&quot; width=&quot;59&quot;&gt;&lt;/td&gt;
    &lt;td style=&quot;border: none;&quot; width=&quot;3&quot;&gt;&lt;/td&gt;
    &lt;td style=&quot;border: none;&quot; width=&quot;259&quot;&gt;&lt;/td&gt;
    &lt;td style=&quot;border: none;&quot; width=&quot;469&quot;&gt;&lt;/td&gt;
   &lt;/tr&gt;
&lt;!--[endif]--&gt;
  &lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;u style=&quot;text-underline: double;&quot;&gt;&lt;span lang=&quot;TH&quot; style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;คำอธิบาย&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableLightGridAccent3&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid #E36C0A .5pt; mso-border-insideh-themecolor: accent6; mso-border-insideh-themeshade: 191; mso-border-insideh: .5pt solid #E36C0A; mso-border-insidev-themecolor: accent6; mso-border-insidev-themeshade: 191; mso-border-insidev: .5pt solid #E36C0A; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184; width: 100.0%;&quot;&gt;
   &lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: -1;&quot;&gt;
    &lt;td style=&quot;border: solid #E36C0A 1.0pt; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 33.96%;&quot; valign=&quot;top&quot; width=&quot;33%&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 14.0pt; mso-yfti-cnfc: 5; text-align: center;&quot;&gt;
&lt;span style=&quot;color: red; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;#include&amp;lt;library&amp;gt;&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt;
    &lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt;
    &lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-left: none; border: solid #E36C0A 1.0pt; mso-border-alt: solid #E36C0A .5pt; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 66.04%;&quot; valign=&quot;top&quot; width=&quot;66%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 1;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: #006633; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;เป็นส่วนหัวหัวโปรแกรมที่จะต้องเขียนไว้เพื่อให้ใช้งานฟังก์ชันต่างๆ
    ในกรณีที่ต้องการทราบว่าฟังก์ชันใดถูกนิยามไว้ที่ใดให้ทำแถบสีที่ฟังก์ชันดังกล่าวและกดปุ่ม
    &lt;/span&gt;&lt;span style=&quot;color: #006633; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Ctrl+f1&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 0;&quot;&gt;
    &lt;td style=&quot;background: #E6EED5; border-top: none; border: solid #E36C0A 1.0pt; mso-background-themecolor: accent3; mso-background-themetint: 63; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 33.96%;&quot; valign=&quot;top&quot; width=&quot;33%&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 68; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;main&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #E6EED5; border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; mso-background-themecolor: accent3; mso-background-themetint: 63; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 66.04%;&quot; valign=&quot;top&quot; width=&quot;66%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: #006633; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;เป็นฟังก์ชันหลักของโปรแกรม&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid #E36C0A 1.0pt; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 33.96%;&quot; valign=&quot;top&quot; width=&quot;33%&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 14.0pt; mso-yfti-cnfc: 132; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;( )&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 66.04%;&quot; valign=&quot;top&quot; width=&quot;66%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 128;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: #006633; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ภายในวงเล็บเป็นค่าพารามิเตอร์ที่จะส่งผ่านไปทำงานยังฟังก์ชันอื่นๆ
    ถ้าไม่มีการใส่ค่าแสดงว่าไม่ต้องการมีค่าพารามิเตอร์&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
    &lt;td style=&quot;background: #E6EED5; border-top: none; border: solid #E36C0A 1.0pt; mso-background-themecolor: accent3; mso-background-themetint: 63; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 33.96%;&quot; valign=&quot;top&quot; width=&quot;33%&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 68; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;{&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #E6EED5; border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; mso-background-themecolor: accent3; mso-background-themetint: 63; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 66.04%;&quot; valign=&quot;top&quot; width=&quot;66%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: #006633; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ปีกกาเปิดแสดงการเริ่มต้นการเขียนโปรแกรม&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid #E36C0A 1.0pt; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 33.96%;&quot; valign=&quot;top&quot; width=&quot;33%&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 132; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;variable declarations&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 66.04%;&quot; valign=&quot;top&quot; width=&quot;66%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 128;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: #006633; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ประกาศตัวแปร&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4;&quot;&gt;
    &lt;td style=&quot;background: #E6EED5; border-top: none; border: solid #E36C0A 1.0pt; mso-background-themecolor: accent3; mso-background-themetint: 63; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 33.96%;&quot; valign=&quot;top&quot; width=&quot;33%&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 68; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;program statement&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #E6EED5; border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; mso-background-themecolor: accent3; mso-background-themetint: 63; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 66.04%;&quot; valign=&quot;top&quot; width=&quot;66%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: #006633; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;การเขียนประโยคคำสั่ง&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 5;&quot;&gt;
    &lt;td style=&quot;border-top: none; border: solid #E36C0A 1.0pt; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 33.96%;&quot; valign=&quot;top&quot; width=&quot;33%&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 132; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;}&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 66.04%;&quot; valign=&quot;top&quot; width=&quot;66%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 128;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: #006633; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ปีกกาปิดแสดงการจบการเขียนโปรแกรม&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 6; mso-yfti-lastrow: yes;&quot;&gt;
    &lt;td style=&quot;background: #E6EED5; border-top: none; border: solid #E36C0A 1.0pt; mso-background-themecolor: accent3; mso-background-themetint: 63; mso-border-alt: solid #E36C0A .5pt; mso-border-themecolor: accent6; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 33.96%;&quot; valign=&quot;top&quot; width=&quot;33%&quot;&gt;
    &lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 14.0pt; mso-yfti-cnfc: 68; text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;/*&lt;span lang=&quot;TH&quot;&gt;ข้อความ*/&lt;/span&gt;&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt;
    &lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt;
    &lt;!--[endif]--&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
    &lt;td style=&quot;background: #E6EED5; border-bottom: solid #E36C0A 1.0pt; border-left: none; border-right: solid #E36C0A 1.0pt; border-top: none; mso-background-themecolor: accent3; mso-background-themetint: 63; mso-border-alt: solid #E36C0A .5pt; mso-border-bottom-themecolor: accent6; mso-border-bottom-themeshade: 191; mso-border-left-alt: solid #E36C0A .5pt; mso-border-left-themecolor: accent6; mso-border-left-themeshade: 191; mso-border-right-themecolor: accent6; mso-border-right-themeshade: 191; mso-border-themecolor: accent6; mso-border-themeshade: 191; mso-border-top-alt: solid #E36C0A .5pt; mso-border-top-themecolor: accent6; mso-border-top-themeshade: 191; padding: 0cm 5.4pt 0cm 5.4pt; width: 66.04%;&quot; valign=&quot;top&quot; width=&quot;66%&quot;&gt;
    &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-yfti-cnfc: 64;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;color: #006633; font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;คำอธิบายโปรแกรม
    ใช้ในการอธิบายความหมายของคำสั่งหรือสิ่งที่ต้องการเขียนไว้กันลืมจะไม่มีผลใดๆกับโปรแกรม
    แต่การเขียนจะต้องเริ่มต้นด้วยเครื่องหมาย /* และจบด้วยเครื่องหมาย*/&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;TH SarabunPSK&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 18.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
   &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;padding: .75pt .75pt .75pt .75pt; width: 99.38%;&quot; width=&quot;99%&quot;&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;padding: .75pt .75pt .75pt .75pt; width: 99.38%;&quot; width=&quot;99%&quot;&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Angsana New&#39;, serif; font-size: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-languags.blogspot.com/feeds/3207402434225327938/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-languags.blogspot.com/2012/07/blog-post_6051.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/3207402434225327938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/3207402434225327938'/><link rel='alternate' type='text/html' href='http://c-languags.blogspot.com/2012/07/blog-post_6051.html' title='โครงสร้างของโปรแกรมภาษาซี'/><author><name>KruAOF</name><uri>http://www.blogger.com/profile/13537754653311955101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='18' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj44oFZmVdgOXYdKuzq-OCf3ApDMJ8Wu7CsWSJ29pvAEfmPBSfbg0nLvxGE7tNLI-e7Zqz79pRMFOr7vtUP-QG3g6K983pwP9FJIr9vSPph92aJtnC7Q4_8X34E-E5BxsSbh3rONe2gOv0CE7ZPvesWbaxPIsPT6ImNnqM8XmnIcqprM_4/s220/365316522_6579082705519499_3098932423696851147_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiwhzeIrmVERnel5Ek8cO1KktSdwh-tENZKdoJW0cm2adq972bta3vUF_KhRCpWkF92v6mfE2f9TKKEEbNBwdCgReG8kecgeP92tDNPC6a8KO62nXRDkvSeVzh-gYAzpxmtK4iXDaih_rn/s72-c/20111117180002.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771127464072471764.post-5481943106027748955</id><published>2012-07-30T07:42:00.002-07:00</published><updated>2012-07-30T09:02:16.110-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C Languages"/><category scheme="http://www.blogger.com/atom/ns#" term="คอมพิวเตอร์"/><title type='text'>กำเนิดภาษาซี</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3YesLFh0zl_W0NRDgKDiQejS1Q4LjwoAKs3-uTvzsOa7H94yd7v0pFzryGHNH1T9JAkCoQKYOXq3GuOiDnB74Lv4-gqAk1Gjx9yHQI36lpR72dEWv4y6Mrsknhkf9aUyeAPf4qpZeO_B-/s1600/dennis_ritchie.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3YesLFh0zl_W0NRDgKDiQejS1Q4LjwoAKs3-uTvzsOa7H94yd7v0pFzryGHNH1T9JAkCoQKYOXq3GuOiDnB74Lv4-gqAk1Gjx9yHQI36lpR72dEWv4y6Mrsknhkf9aUyeAPf4qpZeO_B-/s320/dennis_ritchie.jpg&quot; width=&quot;247&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
(&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 21px; line-height: 24px;&quot;&gt;Dennis Ritchie&lt;/span&gt;)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ด้วยศักยภาพและเทคโนโลยีของคอมพิวเตอร์ที่แพร่หลาย
จึงทำให้มีผู้คิดค้นพัฒนาโปรแกรมคอมพิวเตอร์ภาษาซีขึ้น &amp;nbsp;คือ นายเดนนิส ริทชี่ &amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;Dennis
Ritchie) &lt;/span&gt;&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;ที่ศูนย์วิจัยเบล (&lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;Bell
Laboratories) &lt;/span&gt;&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;ประเทศสหรัฐอเมริกาเมื่อปี ค.ศ.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;1972&lt;/span&gt;&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;&amp;nbsp;&amp;nbsp; และเป็นภาษาคอมพิวเตอร์ที่ใช้เขียนระบบปฏิบัติการยูนิกส์
ซึ่งใช้กันแพร่หลายในระบบเครือข่ายคอมพิวเตอร์ในปัจจุบัน &lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;ภาษาซีเป็นภาษาที่มีความใกล้เคียงกับภาษาระดับต่ำ
(&lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;Low-Level Language) &lt;/span&gt;&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;จึงทำให้นักพัฒนาโปรแกรมสามารถที่จะกำหนดรายละเอียดของโปรแกรมให้เข้าถึงการทำงานในส่วนต่างๆ
ของคอมพิวเตอร์ให้มากที่สุดเพื่อให้เกิดความเร็ว ในการทำงานสูงสุด
และในขณะเดียวกันภาษาซีก็ยังมีความเป็นภาษาระดับสูง (&lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;High-Level
Language) &lt;/span&gt;&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;ทำให้ผู้พัฒนาสามารถที่จะพัฒนาโปรแกรมได้
โดยเน้นไปที่การแก้ปัญหาที่ต้องการได้อย่างอิสระโดยไม่ต้องคำนึงถึงฮาร์ดแวร์ใด ๆ&lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;&quot;&gt;
&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;ภาษาซีเป็นภาษาโปรแกรมคอมพิวเตอร์ที่ได้รับความนิยมและมีการพัฒนาอย่างต่อเนื่อง
นาย &lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;Bjarne Stroustrup &lt;/span&gt;&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;นักวิจัยและพัฒนาของศูนย์วิจัยเบล
(&lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;Bell Laboratiories) &lt;/span&gt;&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;ได้พัฒนาภาษา
&lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;C++ (&lt;/span&gt;&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;ซีพลัสพลัส)
ขึ้นมา โดยที่ภาษา &lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;C++ &lt;/span&gt;&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;มีความสามารถในการทำงานได้ทุกอย่างเหมือนกับภาษาซี
ซึ่งมีรูปแบบและโครงสร้างของภาษาใกล้เคียงกัน แต่ภาษา&lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;&amp;nbsp;C++ &lt;/span&gt;&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;ใช้หลักการออกแบบโปแกรมเชิงวัตถุ
(&lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;Object Oriented Design) &lt;/span&gt;&lt;span lang=&quot;TH&quot; style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 20pt;&quot;&gt;ในขณะที่ภาษาซีใช้หลักการออกแบบโปรแกรมแบบโมดูลาร์
(&lt;/span&gt;&lt;span style=&quot;font-family: &#39;TH SarabunPSK&#39;, sans-serif; font-size: 16pt;&quot;&gt;Modular Design)&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-languags.blogspot.com/feeds/5481943106027748955/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-languags.blogspot.com/2012/07/blog-post_9771.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/5481943106027748955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/5481943106027748955'/><link rel='alternate' type='text/html' href='http://c-languags.blogspot.com/2012/07/blog-post_9771.html' title='กำเนิดภาษาซี'/><author><name>KruAOF</name><uri>http://www.blogger.com/profile/13537754653311955101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='18' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj44oFZmVdgOXYdKuzq-OCf3ApDMJ8Wu7CsWSJ29pvAEfmPBSfbg0nLvxGE7tNLI-e7Zqz79pRMFOr7vtUP-QG3g6K983pwP9FJIr9vSPph92aJtnC7Q4_8X34E-E5BxsSbh3rONe2gOv0CE7ZPvesWbaxPIsPT6ImNnqM8XmnIcqprM_4/s220/365316522_6579082705519499_3098932423696851147_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3YesLFh0zl_W0NRDgKDiQejS1Q4LjwoAKs3-uTvzsOa7H94yd7v0pFzryGHNH1T9JAkCoQKYOXq3GuOiDnB74Lv4-gqAk1Gjx9yHQI36lpR72dEWv4y6Mrsknhkf9aUyeAPf4qpZeO_B-/s72-c/dennis_ritchie.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771127464072471764.post-1018457409281567010</id><published>2012-07-30T05:49:00.002-07:00</published><updated>2012-07-30T06:21:05.677-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Computer"/><category scheme="http://www.blogger.com/atom/ns#" term="ความหมาย"/><category scheme="http://www.blogger.com/atom/ns#" term="คอมพิวเตอร์"/><title type='text'>ความหมายของคอมพิวเตอร์</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: BrowalliaUPC; font-size: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.thaigoodview.com/files/u4258/computer.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.thaigoodview.com/files/u4258/computer.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: BrowalliaUPC; font-size: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: BrowalliaUPC; font-size: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: 19px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; คอมพิวเตอร์มาจากภาษาละตินว่า Computare ซึ่งหมายถึง การนับ หรือ การคำนวณ&amp;nbsp; พจนานุกรม ฉบับราชบัณฑิตยสถาน พ.ศ. 2525 ให้ความหมายของคอมพิวเตอร์ไว้ว่า&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #351c75;&quot;&gt;&lt;b&gt; &quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; color: #351c75; font-size: 19px;&quot;&gt;&lt;b&gt;เครื่องอิเล็กทรอนิกส์แบบอัตโนมัติ ทำหน้าที่เหมือนสมองกล&amp;nbsp;ใช้สำหรับแก้ปัญหาต่างๆ &amp;nbsp;ที่ง่ายและซับซ้อนโดยวิธีทางคณิตศาสตร์&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: 19px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #351c75;&quot;&gt;&lt;b&gt;&quot;&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Arial, Helvetica, sans-serif; font-size: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Arial, Helvetica, sans-serif; font-size: 19px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; คอมพิวเตอร์จึงเป็นเครื่องจักรอิเล็กทรอนิกส์ที่ถูกสร้างขึ้นเพื่อใช้ทำงานแทนมนุษย์ ในด้านการคิดคำนวณและสามารถจำข้อมูล ทั้งตัวเลขและตัวอักษรได้เพื่อการเรียกใช้งานในครั้งต่อไป &amp;nbsp;นอกจากนี้ ยังสามารถจัดการกับสัญลักษณ์ได้ด้วยความเร็วสูง โดยปฏิบัติตามขั้นตอนของโปรแกรม คอมพิวเตอร์ยังมีความสามารถในด้านต่างๆ อีกมาก อาทิเช่น การเปรียบเทียบทางตรรกศาสตร์ การรับส่งข้อมูล การจัดเก็บข้อมูลในตัวเครื่องและสามารถประมวลผลจากข้อมูลต่างๆ ได้&amp;nbsp;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-languags.blogspot.com/feeds/1018457409281567010/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-languags.blogspot.com/2012/07/blog-post_30.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/1018457409281567010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/1018457409281567010'/><link rel='alternate' type='text/html' href='http://c-languags.blogspot.com/2012/07/blog-post_30.html' title='ความหมายของคอมพิวเตอร์'/><author><name>KruAOF</name><uri>http://www.blogger.com/profile/13537754653311955101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='18' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj44oFZmVdgOXYdKuzq-OCf3ApDMJ8Wu7CsWSJ29pvAEfmPBSfbg0nLvxGE7tNLI-e7Zqz79pRMFOr7vtUP-QG3g6K983pwP9FJIr9vSPph92aJtnC7Q4_8X34E-E5BxsSbh3rONe2gOv0CE7ZPvesWbaxPIsPT6ImNnqM8XmnIcqprM_4/s220/365316522_6579082705519499_3098932423696851147_n.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771127464072471764.post-1635675085601917282</id><published>2012-07-30T05:40:00.003-07:00</published><updated>2012-07-30T05:43:14.141-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C Languages"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><category scheme="http://www.blogger.com/atom/ns#" term="ภาษาซี"/><title type='text'>การเขียนโปรแกรมภาษาซี เบื้องต้น</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvOKi78_lrdD7iSr5zBK7AEugCeKjWHpvUCi_v8oS18B3YXod-Q7uh2wZGtnh1jkYEKfCZx2aAgiu468To5FHlnku5jH_mAgzBleF4ensJfK0IqZylU9bNWRWun_HAxELFWdU5ommjZu3Q/s1600/images.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvOKi78_lrdD7iSr5zBK7AEugCeKjWHpvUCi_v8oS18B3YXod-Q7uh2wZGtnh1jkYEKfCZx2aAgiu468To5FHlnku5jH_mAgzBleF4ensJfK0IqZylU9bNWRWun_HAxELFWdU5ommjZu3Q/s1600/images.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; color: blue; font-family: &#39;MS Sans Serif&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; color: blue; font-family: &#39;MS Sans Serif&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ภาษาซีจัดเป็นภาษาระดับกลางที่มีลักษณะเป็นภาษาโครงสร้าง สามารถประยุกต์ใช้ได้กับงานในลักษณะต่างๆ เป็นภาษาที่ใกล้เคียงกับภาษาแอสแซมบลี ผ้เขียนโปรแกรมจะสามารถเขียนโปรแกรมได้อย่างคล่องตัวโดยไม่มีข้อจำกัดในการวางตำแหน่งฟังก์ชัในโปรแกรม ภาษาซีจึงเป็นภาษาที่ง่ายต่อการเข้าใจและการนำไปใช้งาน การสร้างโปรแกรมภาษาซีจะเริ่มจากการเขียนโปรแกรมต้นกำเนิด แล้วนำไปทำการแปลด้วยตัวแปลภาษาซีเกิดเป็นโปรแกรมประสงค์ หลังจากนั้นจึงนำโปรแกรมประสงค์ไปทำการเชื่อมโยง เพื่อให้เกิดเป็นโปรแกรมทำการที่สามารถทำงานได้อย่างรวดเร็ว &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-languags.blogspot.com/feeds/1635675085601917282/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://c-languags.blogspot.com/2012/07/blog-post.html#comment-form' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/1635675085601917282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771127464072471764/posts/default/1635675085601917282'/><link rel='alternate' type='text/html' href='http://c-languags.blogspot.com/2012/07/blog-post.html' title='การเขียนโปรแกรมภาษาซี เบื้องต้น'/><author><name>KruAOF</name><uri>http://www.blogger.com/profile/13537754653311955101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='18' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj44oFZmVdgOXYdKuzq-OCf3ApDMJ8Wu7CsWSJ29pvAEfmPBSfbg0nLvxGE7tNLI-e7Zqz79pRMFOr7vtUP-QG3g6K983pwP9FJIr9vSPph92aJtnC7Q4_8X34E-E5BxsSbh3rONe2gOv0CE7ZPvesWbaxPIsPT6ImNnqM8XmnIcqprM_4/s220/365316522_6579082705519499_3098932423696851147_n.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvOKi78_lrdD7iSr5zBK7AEugCeKjWHpvUCi_v8oS18B3YXod-Q7uh2wZGtnh1jkYEKfCZx2aAgiu468To5FHlnku5jH_mAgzBleF4ensJfK0IqZylU9bNWRWun_HAxELFWdU5ommjZu3Q/s72-c/images.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>