C_Language_Revision_Notes
C_Language_Revision_Notes
1. What is C Language?
C is a high-level, procedural programming language developed by Dennis Ritchie in 1972. It is foundational for
system-level programming.
2. Tokens in C:
Tokens are the smallest units in a program, categorized as Keywords, Identifiers, Constants, Operators, Special
3. Keywords:
5. Data Types:
6. Operators:
- Unary: ++, --
- Binary: Arithmetic (+, -, *, /, %), Relational (<, >, ==), Logical (&&, ||, !)
7. Input/Output Functions:
- getchar(); putchar('A');
9. Arrays:
10. Strings:
11. Functions:
12. Pointers:
14. Structures:
Structure allocates separate memory for each member; Union shares same memory. Structure can store multiple
17. Enum:
(Knowledge, Operators, Data types, Variables, Input/Output, Control, Arrays, Functions, Strings, Pointers, Union,
Structure)