Introduction of C

                          Basics of C


Q-1 What is C?.
Ans- C is a computer Programming language developed by Dennis Ritchie in 1972 at AT & T laboratory the USA.

Q-2 What is Computer?
Ans- A computer is an electronic machine that takes some data as input through the input device and after processing the data produced some information as output on the output device.

Programming Language:-
A language in that we can write the program is called a programming language.

Q-2 What is Program?
A program is a set of instruction.

Q-2 What is Instruction?
Instruction is a command given to the computer to perform some task.

Q-2 What is need of programming language?
The programming language is used to develop the software.
The software is used to provide communication between human and machine.
In other word, languages are the medium of communication between human and machine.

NOTE:- Whatever code we write in the program which is the form of a high-level language ( Human understandable language ). But the machine can understand an only low-level language ( Machine understandable language or binary language ).

Translator:-
A translator is a software which is used to convert high-level language code into the low-level language code.
There are two types of translator
1. Compiler
2. Interpreter

Compiler:-
Compiler read high-level language code as a whole. convert complete code into machine code and store into a file.

Interpreter:-
The interpreter read the high-level language like line by line, convert each line into machine code and execute each line.




Comments

Popular posts from this blog

C program that contains a string XOR each character in this string with 0 ,127

Queue in Data Structure(DS)

Implementation of stack Using Array