Introduction to C

 

C language icon

Keywords of Introduction to C

Structured programming language: When a programming language divides a problem into smaller structural blocks for improving the simplicity, efficiency, and development time of that problem then it can be said as a structured programming language.

Instruction: Instruction is a single operation in a segment of code that is defined by a processor in a computer.

Flexibility: The flexibility of a programming language can be defined that any change of a program source code that does not affect the program design.

Systems programming: System programming enables the computer hardware to communicate with the programmer. It is used for writing an operating system.

Applications programming: Application programming defines interactions between hardware-software intermediaries. It is used for writing a program to solve a complicated system of mathematical equations, or for writing a program to bill customers.

Set: It is an abstract data type that is used to store an unordered collection of unique values.

Library functions: A library function is the storage of functions or packages which is built-in or predefined by a language system; such as Input-Output operation.

Compilers: A compiler is a computer program that converts computer code from one language to another language. (converts the source code to targeting code).

Interpreters: An interpreter is a computer program in computer science that specifically executes instructions written in a programming or scripting language without first needing them to be compiled into a machine language program.

Debugged: Debugging is the process of locating and addressing bugs (defects or problems that prevent successful function) of computer programs.

Introduction to C

The C is a general-purpose, structured programming language. Its instructions are made up of terminology that looks like algebraic expressions and are supplemented with English keywords like if, else while, else, for, do, and while. C is similar to other high-level structure programming languages such as Pascal and Fortran in this regard. C, on the other hand, has some additional features that allow it to be used at a lower level, bridging the gap between machine language and more traditional high-level languages. Because of this flexibility, C can be used for both system programming and application programming.

This language is characterized by the ability to write very concise sources because of the large number of language operators. The collection of instructions is comparatively limited as the current implementations have extensive library functions that improve the basic instructions. The language also allows developers to write their extra library functions. As a result, the programmer can quickly expand the language's functionality and capabilities.

For computers of all sizes, C compilers are often available, and C interpreters are becoming increasingly popular. The compilers are also lightweight in other languages of a high standard. The interpreters are less effective, but easier to use when implementing new software. Often programmers start with an interpreter and then turn to a compiler when the program is debugged. Some other valuable feature of C is that its programs are remarkably portable, far more so than those written in other high-level languages. This is because C delegated most computer-dependent functionality to its library functions. As a result, each version of C comes with its collection of uniform library functions, and each library function is normally accessed in the same way from one version of C to the next. Many C programs can therefore be processed with little to no modification on several different computers.

Resources: Wikipedia and Shaum's Book.

Post a Comment

Previous Post Next Post