C Language Complete Notes
DSA Complete Notes
Software Engineering
Software Architecture
Operating System
Big Data
Data Mining and Warehousing
TOC
Ada
CPP
DBMS

Topics

  • 1. Why should we learn a programming language?
  • 2. Why are we starting our programming journey with C language?
  • 3. History of C Language
  • 4. Who created C language?
  • 5. Where was C language developed?
  • 6. When was C language developed?
  • 7. Why is C still popular even after many years?
  • 8. First C Program Example
  • 9. What is a Header File & Why Do We Use Header Files in C?
  • 10. What is stdio.h Header File in C?
  • 11. What is conio.h in C and Why Do We Use It?
  • 12. Why is # symbol used in C language? What is #include?
  • 13. What is a Function in C?
  • 14. What is Compilation of Code in C?
  • 15. Data Types in C (Size, Format Specifier & Range)
  • 16. Understanding ASCII in C Programming
  • 17. Understanding Float, Double, and Long Double in C
  • 18. What Are Operators in C?

Topic Ends from here

1. Why should we learn a programming language?

Programming languages are like a translator (bridge) between humans and computers.

  • Computers understand only machine language (0s and 1s).

  • Humans understand languages like Hindi, English, etc.

  • It is very difficult for humans to write instructions in only 0s and 1s.

  • Computers cannot understand human languages directly.

So, we need a programming language that:

  • Converts human instructions into machine language.

  • Helps the computer understand what we want it to do.

This translation is done by:

  • Compiler

  • Interpreter

 So, programming languages help humans and computers communicate with each other.

2. Why are we starting our programming journey with C language?

We start with C language because:

  1. It is a basic and powerful language.

  2. It helps us understand:

    • Memory

    • How computers work internally

    • Logic building

  3. Many modern languages are based on C.

  4. It is widely used in:

3. History of C Language
  • BCPL (Basic Combined Programming Language) was developed by
    Martin Richards in 1967.

  • From BCPL, a new language called B language was developed by
    Ken Thompson.

  • Later, C language was developed from B language by
    Dennis Ritchie in 1972 at
    Bell Labs.

So 
C language is a modified and improved version of B language.

4. Who created C language?

C language was created by:

  • Dennis Ritchie → Known as the Father of C language

  • Brian Kernighan → Helped in documenting and popularizing C

5. Where was C language developed?

C language was developed at:

  • Bell Labs (USA)
    Bell Labs was owned by AT&T

C Language Complete Notes | CSE Notes | CSENOTES