C
History
C is a popular programming Language. It is designed and developed by Dennis Ritchie at Bell Laboratories in 1972. This language is Associated closely with Unix operating System.
C Language is a middle level language. It combines the options of high level language and functionality like Assembly language. It reduces the Gap between high level and Low level language that is why it is known as middle level Language.
C is a Structural language. A Structured language permits variety of programs in small modules. It is easy for Debugging, Testing and Maintenance if a Language is a structured one. Structured Language are easier and most of the developers like these languages than the non structured ones like basic and COBOL.
Program
A Program is a set of Instructions for performing a particular task.A Program can be written in assembly Languages as well as high level language. This written program is called as source program. The source program is to be converted to the machine language, which is called as object program.Features of C Language
It provides a following features given below:
1.Simple or Easy
2.Machine Independent or Portable
3.Mid-level programming language
4.structured programming language
5.Memory Management
6.Fast Speed
7.Pointers
8.Recursion
9.Extensible
2.Machine Independent or Portable
3.Mid-level programming language
4.structured programming language
5.Memory Management
6.Fast Speed
7.Pointers
8.Recursion
9.Extensible
First C program
#include <stdio.h>
#include <conio.h>
void main()
{
clrscr();
printf("Welcome To C Language");
getch();
}
Explain above code line by line
#include is a preprocessor command
stdio.h is a standard input output
conio.h is a console input output
void main is a main function where the program is execution begins
clrscr is a clear the screen
printf is a show the output in console screen
getch is a pause the program
Comments
Post a Comment