You are on page 1of 13

PROGRAM1.

1
2
3
4
Programming ‘class’ {
5
6
[For Beginners]
7
8 < BY >
9 < K.THARUN VIVEKANANDA >
10 < C.E.O >
11
12
13 }
14

C Language
PROGRAM1.C

1
2
3 Computer {
4
5
6 A computer is a digital electronic 
7 machine that can be programmed to 
8 carry out sequences of arithmetic or 
9 logical operations (computation)
10
automatically.
11
12
13
14
}

C Language
PROGRAM1.C

1
2
Why‘Language’ ?;
3
4
5  A language is a structured system of communication. 
6  A language is used to share the feelings to others.
7
8
9
10
11
12
13
14

C LANGUAGE
PROGRAM1.C

1
2
C ‘Features’;
3
4  C is mother language of all programming language.
5
6  It is a popular computer programming language.
7
8  It is procedure-oriented programming language.
9
10  It is also called mid level programming language.
11
12
13
14

C LANGUAGE
PROGRAM1.C

1
2
C ‘Founder’;
3
4
5
6  C programming language was developed in 1972 by Dennis Ritchie at bell
7
laboratories of AT&T(American Telephone & Telegraph), located in U.S.A.
8
9  Dennis Ritchie is known as founder of c language.
10  It was developed to be used in UNIX Operating system.
11
 It inherits many features of previous languages such as B and BPCL.
12
13
14

C LANGUAGE
History of c programming PROGRAM1.C
1 Language year Developed By
2
ALGOL 1960 International Group
3
4 BPCL 1967 Martin Richards
5 B 1970 Ken Thompson
6
Traditional C 1972 Dennis Ritchie
7
K&RC 1978 Kernighan & Dennis
8
Ritchie
9
ANSI C 1989 ANSI Committee
10
11 ANSI/ISO C 1990 ISO Committee
12 C99 1999 Standardization
13 Committee
14

C LANGUAGE
PROGRAM1.C

1
2
C ‘Feautres’;
3
4 There are many features of c language are given below.
5
6 1) Machine Independent or Portable
7 2) Mid-level programming language
8 3) structured programming language
9
4) Rich Library
5) Memory Management
10
6) Fast Speed
11
7) Pointers
12 8) Recursion
13 9) Extensible
14

C LANGUAGE
PROGRAM1.C

1
2
First Program of C Language:-
3 {
4 #include <stdio.h>  
5
#include <conio.h>  
6
7
void main( )
8 {  
9 printf(“/n Vivek’s tutorials”);  
10   getch( );  
}  
11
12
13
14 }
C LANGUAGE
forbeginners.html workshop.css

1
2
3 Output {
4
5
6
7 Vivek’s tutorials
8
9
10
11

}
12
13
14

Programming Language
PROGRAM1.C

1
2
C program ‘description’;
3
4
5  #include <stdio.h> :includes the standard input output library functions. The
6 printf() function is defined in stdio.h .
7  #include <conio.h>: includes the console input output library functions. The
8 getch() function is defined in conio.h file.
 void main(): The main() function is the entry point of every program in c
9
language. The void keyword specifies that it returns no value.
10
 printf() :The printf() function is used to print data on the console.
11
 getch() :The getch() function asks for a single character. Until you press any
12 key, it blocks the screen.
13
14

C LANGUAGE
PROGRAM1.C

1
2
Input output function;
3
4
5 There are two input output function of c language.
6 1) First is printf()
7
2) Second is scanf()
8
9  printf() function is used for output. It prints the given statement to the console.
10  Syntax of printf() is given below:
11
12
 printf(“format string”,arguments_list);
13  Format string can be %d(integer), %c(character), %s(string), %f(float) etc.
14

C LANGUAGE
PROGRAM1.C

1
2
Input output function;
3
4
 scanf() Function: is used for input. It reads the input data from console.
5  scanf(“format string”,argument_list);
6
7
8
9
10
11
12
13
14

C LANGUAGE
PROGRAM1.c

1
2
3
4
Programming ‘class’ {
5
6
7
8
9 Printf(“ THE END ”);
10
11
12
13 }
14

C Language

You might also like