Getting Started
• What is C?
• Getting Started with C
– The C Character Set
– Constants, Variables, and Keywords
– Types of C Constants
– Rules for constructing Integer Constants
– Rules for constructing Real Constants
– Rules for constructing Character Constants
– Types of C Variables
– Rules for constructing Variable Name
– C Keywords
Introduction to C Language
What is C?
• C is a programming language developed at AT & T’s
Bell Laboratories of USA in 1972.
• It was designed and written by Dennis Ritchie.
• It is reliable, simple and easy to use.
• C is highly portable, software written in on
computer can be run on another computer
• An important feature of C is its ability to extend
itself.
• C program is basically a collection of functions.
• Major parts of popular operating systems like
Windows, UNIX, Linux are still written in C.
• Many popular gaming frameworks have been built
using C language.
• C is a structured programming language.
• C supports functions that enables easy maintainability
of code, by breaking large file into smaller modules.
• Comments in C provides easy readability.
• C is a powerful language.
Historical Development of C
Why Name 'C' was given to this language?
• Many of the ideas of C language were derived
and taken from 'B' language.
• BCPL and CPL are previous versions of 'B'
language.
• As many features came from B it was named
as 'C'.
Getting Started With C
Steps in learning C language:
Step 1: Know about alphabets, numbers and special
symbols used in C
Step 2: Using step 1 constructed constants, variables
and keywords
Step 3: write instructions using step 2
Step 4: Combining step 3 form a program
Learning English Language Vs Learning C
Language

1-Introduction to C programming language.pptx

  • 1.
    Getting Started • Whatis C? • Getting Started with C – The C Character Set – Constants, Variables, and Keywords – Types of C Constants – Rules for constructing Integer Constants – Rules for constructing Real Constants – Rules for constructing Character Constants – Types of C Variables – Rules for constructing Variable Name – C Keywords
  • 2.
    Introduction to CLanguage What is C? • C is a programming language developed at AT & T’s Bell Laboratories of USA in 1972. • It was designed and written by Dennis Ritchie. • It is reliable, simple and easy to use. • C is highly portable, software written in on computer can be run on another computer • An important feature of C is its ability to extend itself. • C program is basically a collection of functions.
  • 3.
    • Major partsof popular operating systems like Windows, UNIX, Linux are still written in C. • Many popular gaming frameworks have been built using C language. • C is a structured programming language. • C supports functions that enables easy maintainability of code, by breaking large file into smaller modules. • Comments in C provides easy readability. • C is a powerful language.
  • 4.
  • 5.
    Why Name 'C'was given to this language? • Many of the ideas of C language were derived and taken from 'B' language. • BCPL and CPL are previous versions of 'B' language. • As many features came from B it was named as 'C'.
  • 6.
    Getting Started WithC Steps in learning C language: Step 1: Know about alphabets, numbers and special symbols used in C Step 2: Using step 1 constructed constants, variables and keywords Step 3: write instructions using step 2 Step 4: Combining step 3 form a program
  • 7.
    Learning English LanguageVs Learning C Language