C Language Full course
1.History of - C language l C Tutorials for beginers #1
History of - C language.#1
History of C Programming Language
C is a programming language which was developed at “AT & T’s Bell Laboratory” of USA in 1972.It was written by Dennis Ritchie, thats why he is known as father of c programming language.It has been closely associated with unix operating system for which it was developed.
Why C named as C?
BCPL is the earlier ancestors of C Language(BASIC COMBINED) PROGRAMMING LANGUAGE)Ken Thompson is known as the father of B Language.
Features of C Programming Language
simplemachine independentstructured programming languagepointersrecursion
1 . simple:
ans: C is a simple language in the sense that it provides structured approach
2 . Machine Indenpendent:
ans: It can be run on more than one operating system.
3 . Structured Programming language:
ans: C is a structured programming language in the sense that we can break the program into parts using functions
4 . Pointers:
ans: It provide the feature of pointer ,by which we can access the memory.
5 . Recursion:
ans: By using the recursion we can reuse the code.
C Programming Introduction : Tips
Every C Program Should contain one main functionC Program Execution Always Starts from main.Every c statement must end with semicolon ( ; ).Variable must be declared before use.all c statement can be written in lowercase letter.It is free form-language.
Sample C Program :
//C hello world example #include <stdio.h> void main() { printf("Hello harshup"); } output: Hello harshaup
Definition of Compiler :
ans:Compiler is a computer program which converts high level language to machine level language, it can convert whole program to machine level language.
What is Interpreter ?
ans: Interpreter also convert high-level language to machine level, but it takes single instruction as input.
great
ReplyDelete