Compiler
- What is a compiler?
- Install C compiler in windows.
- Install C compiler in Linux with WSL.
- Compilation process of a C program
C program to print “Hello world”!!
Variables
- What are variables?
- Local variables with examples
- Global variables with examples.
- Local variables vs Global variables.
Basic I/O functions – Printf and scanf functions
Data conversions
- Introduction to Binary, Decimal, Octal and Hexa decimal values
- Binary to Decimal, Octal and Hexa decimal
- Octal to Binary, Decimal and Hexa decimal
- Decimal to Binary, Octal and Hexa decimal
- Hexa decimal to Binary, Octal and decimal
- Example C program using Decimal, Octal and Hexa decimal
Data Types
Type modifiers
Constants – Numeric, character and String constants
Operator precedence and order of evaluation
Flow control statements
- if
- else
- else if
- Switch
- for loop
- while loop
- do-while loop
- Goto & labels
- Difference between break and continue
Functions — see Dennis Ritchie page 67
The C pre-processor.
Arrays
- Introduction
- Single dimension arrays.
- Multi-dimensional arrays.
Pointers
Structures
Unions
Bitfields
Typedef
Function pointers
Variable-length arguments
Storage classes
Auto
Static
Extern
Register
C object files and memory layout
Leave a Comment