Programming in C
Programming in C
1. Basics of Computer
2. C Language
4. Working C Program
5. Operators
9. Arrays
10. Functions
11. Structures
12. Pointers
Computer:
Hardware:
Software:
Operating System:
Language Processor:
Assembly:
Interpreter:
Compiler:
Application Software:
Maintenance,
Algorithm
Flow Chart
Shape Meaning
2. C Language
What is C-
Historical Development of C-
Where C stands-
Benefits of C-
C Compiler-
3. Getting Stared with C
Example-
Example:-
Character constants
Types of C variables-
C Keywords-
C Instructions-
no
A simple C program; Variables; Types and Type Declarations
Constants-
Simple I/O---getchar, putchar, printf-
Initialization of Variables-
/*
Floating Point-
5. OPERATORS
Arithmetic Operators
Assignment Operator-
Relational Operators-
Arithmetic Assignment Operators-
Logical Operators-
Example-
The Conditional Operators-
Examples:
What is Array?
Multidimensional arrays
Dynamic arrays
Functions; Comment-
Local and External Variables-
Function Arguments-
* =*
11. STRUCTURES
Declaration
Accessing members
Initialization
Assignment
12. POINTERS
Function Pointers
Storage Class
Register Variables
Static Variables
15. File Management
fseek function
Command line arguments
realloc --
16. Library functions
strcat(dest, source)
strchr(s, c)
strcmp(a, b) -
strcpy(dest, source)
strlen(st)
strncat(dest, source, n)
strncmp(a, b, n)
strrchr(s, c)