SlideShare a Scribd company logo
1 of 10
Introduction to
C language
Presenter :Nitesh Congreja
INDEX:
•What is programming language?
•What is C language?
•Hello world program in C language
•Program explained
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
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
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
•}
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
•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
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.
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
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

More Related Content

What's hot

Brief introduction to the c programming language
Brief introduction to the c programming languageBrief introduction to the c programming language
Brief introduction to the c programming language
Kumar Gaurav
 

What's hot (20)

Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programming
 
Hands-on Introduction to the C Programming Language
Hands-on Introduction to the C Programming LanguageHands-on Introduction to the C Programming Language
Hands-on Introduction to the C Programming Language
 
Basic c
Basic cBasic c
Basic c
 
Sachin kumar ppt on programming in c
Sachin kumar ppt on programming in cSachin kumar ppt on programming in c
Sachin kumar ppt on programming in c
 
Fundamental of C Programming Language and Basic Input/Output Function
  Fundamental of C Programming Language and Basic Input/Output Function  Fundamental of C Programming Language and Basic Input/Output Function
Fundamental of C Programming Language and Basic Input/Output Function
 
C programming language
C programming languageC programming language
C programming language
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
Chapter3
Chapter3Chapter3
Chapter3
 
Intro to C++ - language
Intro to C++ - languageIntro to C++ - language
Intro to C++ - language
 
Brief introduction to the c programming language
Brief introduction to the c programming languageBrief introduction to the c programming language
Brief introduction to the c programming language
 
# And ## operators in c
# And ## operators in c# And ## operators in c
# And ## operators in c
 
Programming in C Basics
Programming in C BasicsProgramming in C Basics
Programming in C Basics
 
Features of c
Features of cFeatures of c
Features of c
 
Features of c language 1
Features of c language 1Features of c language 1
Features of c language 1
 
The smartpath information systems c pro
The smartpath information systems c proThe smartpath information systems c pro
The smartpath information systems c pro
 
introduction to C programming (C)
introduction to C programming (C)introduction to C programming (C)
introduction to C programming (C)
 
OpenGurukul : Language : C Programming
OpenGurukul : Language : C ProgrammingOpenGurukul : Language : C Programming
OpenGurukul : Language : C Programming
 
Introduction Of C++
Introduction Of C++Introduction Of C++
Introduction Of C++
 
Introduction to C Programming - I
Introduction to C Programming - I Introduction to C Programming - I
Introduction to C Programming - I
 

Similar to Introduction to c language by nitesh

Basics of c Nisarg Patel
Basics of c Nisarg PatelBasics of c Nisarg Patel
Basics of c Nisarg Patel
TechNGyan
 
67404923-C-Programming-Tutorials-Doc.pdf
67404923-C-Programming-Tutorials-Doc.pdf67404923-C-Programming-Tutorials-Doc.pdf
67404923-C-Programming-Tutorials-Doc.pdf
Rajb54
 

Similar to Introduction to c language by nitesh (20)

Basics of C Lecture 2[16097].pptx
Basics of C Lecture 2[16097].pptxBasics of C Lecture 2[16097].pptx
Basics of C Lecture 2[16097].pptx
 
Chapter 1 Introduction to C .pptx
Chapter 1 Introduction to C .pptxChapter 1 Introduction to C .pptx
Chapter 1 Introduction to C .pptx
 
Lesson 1
Lesson 1Lesson 1
Lesson 1
 
Introduction of c language
Introduction of c languageIntroduction of c language
Introduction of c language
 
What is turbo c and how it works
What is turbo c and how it worksWhat is turbo c and how it works
What is turbo c and how it works
 
C Language
C LanguageC Language
C Language
 
Csc240 -lecture_3
Csc240  -lecture_3Csc240  -lecture_3
Csc240 -lecture_3
 
Chapter 1: Introduction
Chapter 1: IntroductionChapter 1: Introduction
Chapter 1: Introduction
 
Chapter1.pptx
Chapter1.pptxChapter1.pptx
Chapter1.pptx
 
C_Programming_Notes_ICE
C_Programming_Notes_ICEC_Programming_Notes_ICE
C_Programming_Notes_ICE
 
C programming presentation(final)
C programming presentation(final)C programming presentation(final)
C programming presentation(final)
 
Basics of c Nisarg Patel
Basics of c Nisarg PatelBasics of c Nisarg Patel
Basics of c Nisarg Patel
 
Introduction of c programming unit-ii ppt
Introduction of  c programming unit-ii pptIntroduction of  c programming unit-ii ppt
Introduction of c programming unit-ii ppt
 
Learn C Language
Learn C LanguageLearn C Language
Learn C Language
 
Intro of C
Intro of CIntro of C
Intro of C
 
Learn c language Important topics ( Easy & Logical, & smart way of learning)
Learn c language Important topics ( Easy & Logical, & smart way of learning)Learn c language Important topics ( Easy & Logical, & smart way of learning)
Learn c language Important topics ( Easy & Logical, & smart way of learning)
 
C language unit-1
C language unit-1C language unit-1
C language unit-1
 
C LANGUAGE UNIT-1 PREPARED BY M V BRAHMANANDA REDDY
C LANGUAGE UNIT-1 PREPARED BY M V BRAHMANANDA REDDYC LANGUAGE UNIT-1 PREPARED BY M V BRAHMANANDA REDDY
C LANGUAGE UNIT-1 PREPARED BY M V BRAHMANANDA REDDY
 
C languaGE UNIT-1
C languaGE UNIT-1C languaGE UNIT-1
C languaGE UNIT-1
 
67404923-C-Programming-Tutorials-Doc.pdf
67404923-C-Programming-Tutorials-Doc.pdf67404923-C-Programming-Tutorials-Doc.pdf
67404923-C-Programming-Tutorials-Doc.pdf
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Introduction to c language by nitesh

  • 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