8. Program structure rules of C programming

 Some rules which hold for all programs written in C are as follows:
(1) C has no specific rule about the position at which different parts of a statement are to be written.
(2) C is a case sensitive programming language. Each and every statement
in C or keyword must be written in lower case letter.
(3) Each and every statement used in a C program must be terminated with a semicolon.
(4)The statements within a function in C program are always enclosed within a pair of brackets.
(5) Any C program must be start with a function called main function.
(6) The group of statements within main () are executed sequentially.
(7) The enclosing brackets of the main () function indicates the end of the program.
(8) Keywords cannot be used for any other purpose that is they cannot be used as a variable or function name.

Comments

Popular posts from this blog

12. Library Functions of C Programming

13. Control Strings in C Programming

4. What is Compiler ?

7. Introduction of C programming :

18. Identifiers and Keyword in C programming

10. Data Types of C Programming

3. What is programming language ?

9. Header Files of C Programming