SlideShare a Scribd company logo
1 of 7
Download to read offline
Learn C Programming
Basics of C programming
C is a general purpose high-level language most popular amongst coders, it is the most 
compatible, easy to learn and effective programming language. It is a successor of B 
language that came out way back in the 70s and has been the most popular 
programming language ever since. 
Features of C programming:-
● C is a Middle level language.  
● It is case sensitive. 
● It is easy to extend. 
● Highly portable. 
● It is fast and efficient. 
● It is more widely used language in operating systems and embedded system. 
● It is the simple language. 
 
Why C is a middle level language? 
To understand this let us first understand what higher and lower level languages are 
with example. 
A higher level language would be the language that we humans speaks like simple 
English and lower level language is that a computer can understand like binary (1s and 
0s) called machine language, while C is a middle level language that is between higher 
and lower level and is also called assembly language. It uses simple words from English 
like for, if, while, include and also symbols like +, ++, <, %, & to carry out tasks and to 
interact with our computer. 
  
We Used C Language in Following Areas:- 
● We can create an Operating System with the help of the C language. Mostly all 
operating systems are developed in C language like Unix, Windows operating 
system. 
● We can develop assemblers in C language. 
● We can develop compilers in C language. 
● Network Drivers are also created using C language. 
● Text Editors are developed using the C language like Notepad++,gedit e.t.c. 
● Database Management System are developed using the C language like oracle 
database. 
  
Limitations of C language:- 
● No exception handling is done. 
● We can not reuse the code in C language. 
● In C language, no run time type checking is done. 
● C language doesn’t support Object Oriented programming. 
 
Features of C
  
The reason for the popularity of the C language is its features, these good features 
make this language unique, mother language and Powerful language. 
C is a procedural programming language. It was mainly developed as a System 
programming language, for writes the operating system program. Its main features are:- 
presence of low level access to memory, use of simple set of keywords, this features 
make suitable of C language, it is portable. 
There are some features of the C programming language:- 
Features of C:-
● Small 
● Speed 
● Modularity 
● Case sensitive language 
● Middle level language 
● Structured 
● Memory Management 
● Rich library 
● Pointer & Recursion 
● Extensible 
● Fast 
 
 
 
 
Small:-
● C provide 32 reserved keywords, these keywords provide control to programmer 
on language. By understanding the use of keywords we can do programming in 
C language. 
● C language can easily learn in less time because, C language is small and simple 
language. 
● This language provide structure approach. 
● In C language there are various data types and library function provided to solve 
the problems. 
Speed:-
● The main feature of the C language is Speed because after assembly language C 
language is considered to be the fastest. 
● The compilation and execution time of the C language is very fast. 
● C language is also known as Low level language. 
● This language is very close to the hardware.  
Modularity:-
● C is a Modular programming language. In this feature small modules are made to 
solve any problem and these small module are known as function. By dividing 
any program in modules, it becomes easy to manage or debug the program. 
Case Sensitive:-
● C is a case sensitive language. 
● In case sensitive programming all letters are different weather they are small and 
capital variables, which makes it easy for the programmer to create variables in a 
program. 
Middle level language:-
● This is the main feature in features of C.C language is a middle level language 
because C language can make high level and low level software. 
● C language is also used in programming of low level language, in which system 
applications are created.it also supports the features of high level language, 
that’s why C language is called a middle level language. 
Structured:-
● C is a structure programming language.  
● In this feature small modules are made to solve any problem and these small 
module are known as function. By dividing any program in modules, it becomes 
easy to manage or debug the program. 
Memory Management:-
● Memory Management is a good feature in features of C. 
● C language supports the feature of dynamic memory allocation. 
● We can allocate time memory with the help of free() function. 
Rich Library:-
● This is the most important feature in features of C. 
● C language provides various in-built functions, with the help of which we can 
speed up any program. 
Pointer and Recursion:-
● C language provides Pointer and Recursion feature.we can directly handle the 
memory with the help of Pointer.we use pointer for Array,Function,Structures. 
● In C programming, we can call function inside the function.C language provides 
code re-usability to us.By which we can use the code of any function again. 
Extensible:-
● In the C programming language, you can add your own user defined library and 
use it. Because the C language is an extensible programming language and we 
can add new features easily. 
Fast:-
● After assembly language C language is considered to be the fastest. 
● This is also sometimes called low level language. 
● C language is close to the hardware. 
● Processing of applications created in the C language is fast. 
Introduction of C
C is procedural and high level structured oriented programming language.c is used for 
general purpose programming.it was developed by Dennis Ritchie in between 1969 and 
1973.It is simple and flexible. 
C was invented to write everything from operating system like Oracle database,Git and 
more. 
We can say that, C is a base for the programming .if you know about “C” language ,you 
can easily get the knowledge of other programming languages uses the concept of C. 
 
Some facts about “C”
● C was developed by Dennis Ritchie in between 1969 and 1973. 
● American National Standards Institute (ANSI) had organized the C language in 
1988. 
● C was invented to write from operating system. 
● Linux,Oracle database,PHP are written in C. 
Application of C language
● It is used in writing embedded software. 
● It is used for creating system application, 
● Database system 
● Operating system 
● Compilers and assemblers 
● Interpreters 
● The core parts of UNIX,WINDOWS are written using the C language. 
● It is used to create graphical application. 
● It is used in network drivers. 
● Used in text editors. 
Advantages
● It is case sensitive. 
● It is highly portable language. 
● Programs written in c language efficient and fast. 
● It is easy to understand.   
● C language is procedure oriented language. 
Disadvantages
● It does not have any concept of destructor and constructor. 
● C++ is developed because C does not have concept of oops. 
● Lack of exception handling. 
● It does not have concept of namespace. 

More Related Content

What's hot

Computer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clComputer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 cl
Saumya Sahu
 
Machine language
Machine languageMachine language
Machine language
Ripal Dhruv
 
Programming languages
Programming languagesProgramming languages
Programming languages
vito_carleone
 
Programing language
Programing languagePrograming language
Programing language
James Taylor
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
kitturashmikittu
 

What's hot (20)

A classification of programing languages
A classification of programing languagesA classification of programing languages
A classification of programing languages
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Unit 1
Unit 1Unit 1
Unit 1
 
PROGRAMMING LANGUAGES
PROGRAMMING LANGUAGESPROGRAMMING LANGUAGES
PROGRAMMING LANGUAGES
 
Programming assignment help
Programming assignment helpProgramming assignment help
Programming assignment help
 
Computer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clComputer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 cl
 
Presentation on Programming Languages.
Presentation on Programming Languages.Presentation on Programming Languages.
Presentation on Programming Languages.
 
Machine language
Machine languageMachine language
Machine language
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7
 
Introduction of c programming
Introduction of c programmingIntroduction of c programming
Introduction of c programming
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Copmuter Languages
Copmuter LanguagesCopmuter Languages
Copmuter Languages
 
BASIC Programming Language
BASIC Programming LanguageBASIC Programming Language
BASIC Programming Language
 
Programing language
Programing languagePrograming language
Programing language
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
Programming language
Programming languageProgramming language
Programming language
 
270 1 c_intro_up_to_functions
270 1 c_intro_up_to_functions270 1 c_intro_up_to_functions
270 1 c_intro_up_to_functions
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
 

Similar to Learn c programming

C Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYC Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDY
Rajeshkumar Reddy
 
Learn c programming language in 24 hours allfreebooks.tk
Learn c programming language in 24 hours   allfreebooks.tkLearn c programming language in 24 hours   allfreebooks.tk
Learn c programming language in 24 hours allfreebooks.tk
ragulasai
 

Similar to Learn c programming (20)

C Language
C LanguageC Language
C Language
 
Introduction of 'C' langauge
Introduction of  'C'  langaugeIntroduction of  'C'  langauge
Introduction of 'C' langauge
 
What is C.docx
What is C.docxWhat is C.docx
What is C.docx
 
3. Introduction to C language ||Learn C Programming Complete.
3. Introduction to C language ||Learn C Programming Complete.3. Introduction to C language ||Learn C Programming Complete.
3. Introduction to C language ||Learn C Programming Complete.
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
Why C is Called Structured Programming Language
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming Language
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computer
 
Introduction to c
Introduction to cIntroduction to c
Introduction to c
 
Introduction to C Programming (1).pdf
Introduction to C Programming (1).pdfIntroduction to C Programming (1).pdf
Introduction to C Programming (1).pdf
 
C Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYC Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDY
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Programming in C
Programming in CProgramming in C
Programming in C
 
Introduction to c language
Introduction to c language Introduction to c language
Introduction to c language
 
C programming short notes by pulkit modi
C programming short notes by pulkit modiC programming short notes by pulkit modi
C programming short notes by pulkit modi
 
CS3251-_PIC
CS3251-_PICCS3251-_PIC
CS3251-_PIC
 
C basic
C basicC basic
C basic
 
C-PROGRAMMING-LANGUAGE.pptx
C-PROGRAMMING-LANGUAGE.pptxC-PROGRAMMING-LANGUAGE.pptx
C-PROGRAMMING-LANGUAGE.pptx
 
Learn c programming language in 24 hours allfreebooks.tk
Learn c programming language in 24 hours   allfreebooks.tkLearn c programming language in 24 hours   allfreebooks.tk
Learn c programming language in 24 hours allfreebooks.tk
 
ppt.pptx
ppt.pptxppt.pptx
ppt.pptx
 

More from Savitribai Phule Pune University

More from Savitribai Phule Pune University (10)

R programming by ganesh kavhar
R programming by ganesh kavharR programming by ganesh kavhar
R programming by ganesh kavhar
 
Networking with java
Networking with javaNetworking with java
Networking with java
 
Python for data analysis
Python for data analysisPython for data analysis
Python for data analysis
 
Control statements in java programmng
Control statements in java programmngControl statements in java programmng
Control statements in java programmng
 
Search engines by ganesh kavhar
Search engines by ganesh kavharSearch engines by ganesh kavhar
Search engines by ganesh kavhar
 
Python by ganesh kavhar
Python by ganesh kavharPython by ganesh kavhar
Python by ganesh kavhar
 
Machine learning by ganesh kavhar
Machine learning by ganesh kavharMachine learning by ganesh kavhar
Machine learning by ganesh kavhar
 
Android apps
Android appsAndroid apps
Android apps
 
Android apps upload slideshare
Android apps upload slideshareAndroid apps upload slideshare
Android apps upload slideshare
 
Android app upload
Android app uploadAndroid app upload
Android app upload
 

Recently uploaded

Recently uploaded (20)

How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 

Learn c programming

  • 1. Learn C Programming Basics of C programming C is a general purpose high-level language most popular amongst coders, it is the most  compatible, easy to learn and effective programming language. It is a successor of B  language that came out way back in the 70s and has been the most popular  programming language ever since.  Features of C programming:- ● C is a Middle level language.   ● It is case sensitive.  ● It is easy to extend.  ● Highly portable.  ● It is fast and efficient.  ● It is more widely used language in operating systems and embedded system.  ● It is the simple language.    Why C is a middle level language?  To understand this let us first understand what higher and lower level languages are  with example.  A higher level language would be the language that we humans speaks like simple  English and lower level language is that a computer can understand like binary (1s and  0s) called machine language, while C is a middle level language that is between higher  and lower level and is also called assembly language. It uses simple words from English 
  • 2. like for, if, while, include and also symbols like +, ++, <, %, & to carry out tasks and to  interact with our computer.     We Used C Language in Following Areas:-  ● We can create an Operating System with the help of the C language. Mostly all  operating systems are developed in C language like Unix, Windows operating  system.  ● We can develop assemblers in C language.  ● We can develop compilers in C language.  ● Network Drivers are also created using C language.  ● Text Editors are developed using the C language like Notepad++,gedit e.t.c.  ● Database Management System are developed using the C language like oracle  database.     Limitations of C language:-  ● No exception handling is done.  ● We can not reuse the code in C language.  ● In C language, no run time type checking is done.  ● C language doesn’t support Object Oriented programming.   
  • 3. Features of C    The reason for the popularity of the C language is its features, these good features  make this language unique, mother language and Powerful language.  C is a procedural programming language. It was mainly developed as a System  programming language, for writes the operating system program. Its main features are:-  presence of low level access to memory, use of simple set of keywords, this features  make suitable of C language, it is portable.  There are some features of the C programming language:-  Features of C:- ● Small  ● Speed  ● Modularity  ● Case sensitive language  ● Middle level language  ● Structured  ● Memory Management  ● Rich library  ● Pointer & Recursion  ● Extensible  ● Fast         
  • 4. Small:- ● C provide 32 reserved keywords, these keywords provide control to programmer  on language. By understanding the use of keywords we can do programming in  C language.  ● C language can easily learn in less time because, C language is small and simple  language.  ● This language provide structure approach.  ● In C language there are various data types and library function provided to solve  the problems.  Speed:- ● The main feature of the C language is Speed because after assembly language C  language is considered to be the fastest.  ● The compilation and execution time of the C language is very fast.  ● C language is also known as Low level language.  ● This language is very close to the hardware.   Modularity:- ● C is a Modular programming language. In this feature small modules are made to  solve any problem and these small module are known as function. By dividing  any program in modules, it becomes easy to manage or debug the program.  Case Sensitive:- ● C is a case sensitive language.  ● In case sensitive programming all letters are different weather they are small and  capital variables, which makes it easy for the programmer to create variables in a  program.  Middle level language:- ● This is the main feature in features of C.C language is a middle level language  because C language can make high level and low level software.  ● C language is also used in programming of low level language, in which system  applications are created.it also supports the features of high level language,  that’s why C language is called a middle level language. 
  • 5. Structured:- ● C is a structure programming language.   ● In this feature small modules are made to solve any problem and these small  module are known as function. By dividing any program in modules, it becomes  easy to manage or debug the program.  Memory Management:- ● Memory Management is a good feature in features of C.  ● C language supports the feature of dynamic memory allocation.  ● We can allocate time memory with the help of free() function.  Rich Library:- ● This is the most important feature in features of C.  ● C language provides various in-built functions, with the help of which we can  speed up any program.  Pointer and Recursion:- ● C language provides Pointer and Recursion feature.we can directly handle the  memory with the help of Pointer.we use pointer for Array,Function,Structures.  ● In C programming, we can call function inside the function.C language provides  code re-usability to us.By which we can use the code of any function again.  Extensible:- ● In the C programming language, you can add your own user defined library and  use it. Because the C language is an extensible programming language and we  can add new features easily.  Fast:- ● After assembly language C language is considered to be the fastest.  ● This is also sometimes called low level language.  ● C language is close to the hardware.  ● Processing of applications created in the C language is fast. 
  • 6. Introduction of C C is procedural and high level structured oriented programming language.c is used for  general purpose programming.it was developed by Dennis Ritchie in between 1969 and  1973.It is simple and flexible.  C was invented to write everything from operating system like Oracle database,Git and  more.  We can say that, C is a base for the programming .if you know about “C” language ,you  can easily get the knowledge of other programming languages uses the concept of C.    Some facts about “C” ● C was developed by Dennis Ritchie in between 1969 and 1973.  ● American National Standards Institute (ANSI) had organized the C language in  1988.  ● C was invented to write from operating system.  ● Linux,Oracle database,PHP are written in C.  Application of C language ● It is used in writing embedded software.  ● It is used for creating system application,  ● Database system  ● Operating system  ● Compilers and assemblers  ● Interpreters  ● The core parts of UNIX,WINDOWS are written using the C language.  ● It is used to create graphical application.  ● It is used in network drivers.  ● Used in text editors. 
  • 7. Advantages ● It is case sensitive.  ● It is highly portable language.  ● Programs written in c language efficient and fast.  ● It is easy to understand.    ● C language is procedure oriented language.  Disadvantages ● It does not have any concept of destructor and constructor.  ● C++ is developed because C does not have concept of oops.  ● Lack of exception handling.  ● It does not have concept of namespace.