Monday, August 3, 2020

Importance point about C language

Some Important Point  About C language

(1)C is a structured, high level,machine independent language.

(2)ANSI C and C99 are the standardized versions of C language.

(3)C combines the capabilities of assembly language with the features of a high level language.

(4)C is robust,portable and structured programming language.

(5)Every C language requires a main() function(Use of more than one main() is illegal). The place main is where the program execution begins.

(6)The execution of a function begins at the opening brace of the function and ends at the corresponding closing brace.

(7)C programs are written in lowercase letters. However, uppercase letters are used for symbolic names and output strings.

(8)All the words in a program line must be separated from each other by the at least one space,or a tab, or a punctuation mark.

(9)Every program statement in a C language must end with a semicolon.

(10)All variables must be declared for their types before they are used in the program.

(11)A comment can be inserted almost anywhere a space can appear. Use of appropriate comments in proper places increase readability and understand-ability of the program and helps users in debugging and testing. Remember to match the symbols /* and * appropriately.

(12)Compiler directives such ad define and include are special instructions to the compiler to help it compile a program. They do not end with a semicolon.

(13)The sign # of compiler directives must appear in the first column of the line.

(14)We must make sure to include header files using  #include directive when the program refers to special names and functions that it does not define.

(15)The structure of a c program comprises of various sections including Documentation,Link , Definitiion, Global Declaration, main() function and Sub program section. 

 


No comments:

Post a Comment

Detail of Software and Hardware

  Topic   There are available only two things in computer system one is software and another is hardware.   Both is opposite of each other...