31-10-2012, 05:53 PM
Introduction to C and it’s basic constructs
Introduction to C.doc (Size: 519.5 KB / Downloads: 35)
Overview
This presentation covers the fundamentals of the C programming language. It describes the traditional features of the language, including variables, data types, operators, loops and flow controls and different coding conventions and guidelines which are used in programming
C programming
• C is Structured Programming Language
• The C programming language is a standardized programming language developed by Ken Thompson and Dennis Ritchie
• It was developed in early 1970s
• It is one of the most widely used programming languages
• It is praised for its efficiency, and is the most popular programming language for writing system software
Tips for C program
• Starts from main()
• Have to declare variable before using them
• Variables must be declared following the naming conventions
• Use appropriate Statements in a logical sequence
• Use Comments - A comment is a self explanatory information that is contained in the program to assist the reader to read the program.
• Writing comments is a good programming practice and a good source of self documentation.