Code2night
  • Home
  • Guest Posts
  • Tutorial
  • Languages
    • Angular
    • C
    • C#
    • HTML/CSS
    • Java
    • JavaScript
    • Node.js
    • Python
    • React
    • SQL Server
    • TypeScript
  • Post Blog
  • Tools
    • JSON Beautifier
    • HTML Beautifier
    • XML Beautifier
    • CSS Beautifier
    • JS Beautifier
    • PDF Editor
    • Word Counter
    • Base64 Encode/Decode
    • Diff Checker
    • JSON to CSV
    • Password Generator
  • Register
  • Login
  1. Home
  2. Blogpost

Chapter-1 (Introduction of C)

Date- Dec 09,2023

3509

C Language:-

  • Human Language: Human languages like English, Hindi, etc. are natural languages used for communication between people. They are diverse, complex, and varied across different cultures. Humans use languages for expressing thoughts, ideas, and communicating with each other.


  • Machine Language: Computers, on the other hand, can only understand machine language, which is a binary code consisting of 0s and 1s. Machine language represents the lowest level of abstraction and is directly understandable by the hardware. It's the language that the central processing unit (CPU) of a computer operates on.


    History:-

Dennis Ritchie developed the general-purpose programming language C at Bell Laboratories in 1972.

Despite its age, this language is still very popular. The primary cause of its widespread use is that it is an essential language in computer science.


Why should you learn C?

1. It is one of the world's most popular programming languages. 

2. If you know C, you will have no trouble learning other popular programming languages such as Java, Python, C++, C#, and so on because the syntax is similar.

3. C is extremely fast when compared to other programming languages such as Java and Python. C is a very versatile programming language that can be used in both applications and technologies.

Difference between Compiler and Interpreter:

Compiler:

  1. 1. Operation: A compiler translates the entire source code into machine code or intermediate code before execution.
  2. 2. Execution: It generates an executable file or a binary that can be executed without the need for the original source code.
  3. 3. Process: The compilation process occurs in two stages: analysis and synthesis.
  4. 4. Performance: Compiled code usually runs faster as the entire code is converted beforehand.
  5. 5. Error Handling: Errors are identified after the entire code is checked. Compilation fails if errors are found, and the programmer must correct errors before execution.

Interpreter:

  1. 1. Operation: An interpreter directly executes the source code line by line without the need to create an intermediate file.
  2. 2. Execution: It doesn't produce an independent executable file but interprets the code during runtime.
  3. 3. Process: It translates and executes the code line-by-line on the go.
  4. 4. Performance: Interpreted code generally runs slower compared to compiled code due to the real-time translation process.
  5. 5. Error Handling: Errors are identified as the code is executed. The interpreter halts execution when an error is encountered but can continue with the remaining code if errors are fixed.

S
Shubham Saini
Programming author at Code2Night — sharing tutorials on ASP.NET, C#, and more.
View all posts →

Comments

Tags

AspNet
C#
programming
AspNet MVC
c programming
AspNet Core
C
software development
tutorial
MVC
memory management
Paypal
coding
coding best practices
data structures
programming tutorial
tutorials
object oriented programming
Slick Slider
StripeNet
Free Download for Youtube Subscribers!

First click on Subscribe Now and then subscribe the channel and come back here.
Then Click on "Verify and Download" button for download link

Subscribe Now | 1760
Download
Support Us....!

Please Subscribe to support us

Thank you for Downloading....!

Please Subscribe to support us

Continue with Downloading
Be a Member
Join Us On Whatsapp Join Us On Facebook
Code2Night

A community platform for sharing programming knowledge, tutorials, and blogs. Learn, write, and grow with developers worldwide.

Panipat, Haryana, India
info@code2night.com
Quick Links
  • Home
  • Blogs
  • Tutorials
  • About Us
  • Contact
  • Privacy Policy
  • Terms & Conditions
  • Guest Posts
Free Dev Tools
  • JSON Beautifier
  • HTML Beautifier
  • CSS Beautifier
  • JS Beautifier
  • Password Generator
  • QR Code Generator
  • Hash Generator
  • Diff Checker
  • Base64 Encode/Decode
  • Word Counter
By Language
  • Angular
  • C
  • C#
  • HTML/CSS
  • Java
  • JavaScript
  • Node.js
  • Python
  • React
  • SQL Server
  • TypeScript
© 2026 Code2Night. All Rights Reserved.
Made with for developers  |  Privacy  ·  Terms
Translate Page