0% found this document useful (0 votes)
9 views

C Programming - A Short Note

C is a general-purpose, procedural programming language developed in 1972, known for its efficiency and low-level memory access. It features a simple structure, including variables, data types, control statements, loops, and functions. C serves as a foundational language for many modern programming languages such as C++, Java, and Python.

Uploaded by

Swati
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

C Programming - A Short Note

C is a general-purpose, procedural programming language developed in 1972, known for its efficiency and low-level memory access. It features a simple structure, including variables, data types, control statements, loops, and functions. C serves as a foundational language for many modern programming languages such as C++, Java, and Python.

Uploaded by

Swati
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

C Programming - A Short Note

Introduction:
C is a general-purpose, procedural programming language developed by Dennis Ritchie in 1972 at Bell
Labs. It is widely used for system programming, developing operating systems, embedded systems, and
application software.

Key Features:

Simple and efficient

Structured language

Low-level access to memory

Fast execution speed

Rich set of built-in functions

Portable and machine-independent

Basic Structure of a C Program:

#include <stdio.h> // Header file

int main() {
printf("Hello, World!\n"); // Print output
return 0;
}

Important Concepts in C:

Variables & Data Types (int, float, char, etc.)

Operators (+, -, *, /, %, etc.)

Control Statements (if-else, switch)

Loops (for, while, do-while)

Functions (User-defined & Built-in)

Arrays & Strings

Pointers & Memory Management

Structures & Unions

File Handling

C remains a fundamental language in programming, forming the basis for many modern languages like
C++, Java, and Python.

You might also like