2. INDEX:
•What is programming language?
•What is C language?
•Hello world program in C language
•Program explained
3. What is programming
language?
•In computer technology, A programming
language is designed to communicate
instructions to a machine, particularly a
computer . Programming languages can be used
to create the programs to control the behavior
of a machine. There are many languages that
allow humans to communicate with computers;
•Ex :C language , C++, and Java are some common
ones
4. What is C language?
•C is a high-level and general purpose computer
programming language. Developed & designed
by Dennis Ritchie at AT&T Bell Labs for the Unix
Operating System (OS) in the early 1970s.It is the
case sensitive language, it only supports lower
case. The extension of C language is .c
5. Hello world program in C
language
•#include<conio.h> //header file
•#include<stdio.h> //header file
•void main(void) //main function
•{
•clrscr(); //It clears the screen
•Printf(“Hello! World”); //It prints the hello world
•getch();//it get character from user
•}
6. Program explained
# include < conio . h >
# include < stdio . h >
Void main (void)
{
Clrscr ();
printf ( “ Hello! World n ” );
Getch ();
}
Buffer sign Folder name Angle bracketsConsole Input & Output
Header file
Standard Input & Output
Main Function
Braces or curly brackets
Clear screen
Terminator
Parenthesis
Print function
Get character
String constant
Escape sequenceArguments
7. •Buffer sign(#) :It Defines that it is a preprocessed directive.
•Include :It is name of the folder where all header files are defined.
•Conio :Console Input & Output it holds some function like : clrscr, getch etc.
•Stdio :Standard Input & Output like conio it’s also holds some function like : printf etc.
•.H :It is the extension of Header file.
•<> (Angle brackets):it Indicates the header file is defined.
Program explained
8. Program explained
•Void main (void) :It is the main function.it means no return and no pass.
•{}(curly braces) :It defines the body of the function.
•()(Parentheses):It indicates that there is the function.
•Clrscr :Clear screen, it clears the user screen.
•Getch :Get Character, it gets the character from user.
•printf :print function, it is use to print any argument on user screen.
9. Program explained
•“”(String constant) :Between these “—” we get exact result as we write
expect escape sequence.
•n(Escape sequence) :It inserts a new line.
•;(Terminator) :It terminates the statement.
The End;
It’s all about my presentation if you have any question you may ask
10. Program explained
•“”(String constant) :Between these “—” we get exact result as we write
expect escape sequence.
•n(Escape sequence) :It inserts a new line.
•;(Terminator) :It terminates the statement.
The End;
It’s all about my presentation if you have any question you may ask