Tuesday, 13 September 2016

TOKEN

What is token in C?
Smallest unit in a program/statement.
It makes the compiler understand what is written in the program.
Example: main, printf , name,), etc.
Tokens are broadly classified as:
Identifiers
Keywords
Constants
Variables
Strings
Operators

Special character

Monday, 12 September 2016

Video to Write first program in C in Dev C++

                                      A video to write a Programme  to print Hello




Sunday, 11 September 2016

You can write the program on dev c++ or turbo c which can be easily download from google search .but from my opinion dev C++ is the best one .
after the dev c++ install go to the file and then new and after that source file after this a new page is open the you can write program on that page.
I taught u how to write the program .
first very easy step
Write a program to display hello on output screen.
#include<stdio.h>       //#include is an preprocessor 
                                   //stdio.h is an library
int main()                     //int main very all the work will done on the scope
                                    //scope open
                                     //printf is defined on stdio.h library
{
 printf("Hello");        // ;(semicolon) is very important after the end of the line
return 0;                     // it will return  value

}                                   //scope closed
after writing this program u type  f11 for compiling.

Saturday, 10 September 2016

History and Featuer Of C

HISTORY OF C
-In  1972 Dennis Ritchie developed the c at Bell Laboratories.

-BCPL(Basic Combined Programming Language) and B are earlier language.

-C is a language which has been closely  associated with UNIX operating system .

-In 1983 ,the American National Standards Institute (ANSI) established a committee to provide a modern ,comprehensive definition of C.

-The definition ,the ANSI standard ,or ANSIC ,was completed late 1988.



FEATURE OF C
C is the widely used language .It provide a lot of feature that are given below -

1)Machine independent/Portable
2)Mid Level Language 
3)Structured Programming  Language 
4)Rich Library
5)Memory Management 
6)Fast Speed
7)Recursion
8)Pointer
9)Extensible