Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

Why Learn C?
Canonical First Program
Canonical First Program Continued
More on the Canonical First Program
Canonical First Program Output & Comments
Header Files
Names in C
Why use comments?
Symbolic Constants
Declaring Variables
Basic Format
Basic Data Types: INTEGER
Basic Data Types: FLOAT
Expressions and Statements
The Assignment Operator
The Assignment Operator Evaluation
Initializing Variables
Initializing Variables Example
Arithmetic Operators
Increment/Decrement Operators
Prefix versus Postfix
Advanced Assignment Operators
Precedence & Associativity of Operators
Precedence & Associativity of Operators Examples
The intData Type
The floatand doubleData Types
The charData Type
ASCII Character Set
Automatic Type Conversion
Automatic Type Conversion with Assignment Operator
Type Casting
Basic Output
Format Specifiers Table
Common Special Characters for Cursor Control
Basic Output Examples
Basic Input
Basic Input Example
Introduction to Program Looping
Relational Operators
Relational Operators Table
forLoop Example
forLoop Diagram
General Comments about forLoop
General Comments about forLoop Continued
whileLoop Example
do whileLoop Example: Error Checking
Introduction to Decision Making Statements
ifStatement Examples
switchStatement Example
switchStatement Operation
switchStatement Example: Characters
switchStatement Example: Menus
Conditional Operator
Conditional Operator Examples
Logical Operators
Logical Operators Precedence
Introduction to Array Variables
Array Variables Example
Array Elements
Declaring Arrays
Initializing Arrays during Declaration
Using Arrays
Multi-Dimensional Arrays
Multi-Dimensional Array Illustration
Initializing Multi-Dimensional Arrays
Using Multi-Dimensional Arrays
Arrays of Characters
Initializing Strings
Copying Strings
String I/O Functions
More String Functions
More String Functions Continued
Examples of String Functions
Character I/O Functions
More Character Functions
Character Functions Example
“Calculator-class” Library Functions
Using Math Library Functions
Introduction to User-defined Functions
Reasons for Use
User-defined Function Usage
Function Definition
Function Definition Example 1
Function Definition Example 2
return Statement
return Statement Examples
Using Functions
Considerations when using Functions
Using Function Example
Introduction to Function Prototypes
Function Prototypes
Storage Classes
auto Storage Class
extern Storage Class
extern Storage Class Example
Formatted Output
char andintFormatted Output Example
f Format Identifier
e Format Identifier
Real Formatted Output Example
s Format Identifier
Strings Formatted Output Example
Formatted Input
Formatted Input Examples
Introduction to Pointers
Memory Addressing
The Address Operator
Pointer Variables
Pointer Arithmetic
Indirection Operator
“Call-by-Reference” Arguments
“Call-by-Reference” Example
Pointers and Arrays
Pointers and Arrays Illustration
Pointers and Arrays Examples
Arrays as Function Arguments
Arrays as Function Arguments Example
Pointers and Character Strings
Pointers and Character Strings Example
Introduction to Structures
Structure Variable Declaration
Structure Members
Initializing Structure Members
Structures Example
Structures Example Continued
More on Structures Example Continued
Structures within Structures
Initializing Structures within Structures
Pointers to Structures
Pointers to Structures: ->
Introduction to Unions
Unions and Memory
Unions Example
Introduction to File Input and Output
Declaring FILE variables
Opening a Disk File for I/O
Reading and Writing to Disk Files
Closing a Disk File
Additional File I/O Functions
Sample File I/O Program
Sample File I/O Program: main
Sample File I/O Program: processfile
Sample File I/O Program: getrecord
Sample File I/O Program: printrecord
Sample File I/O Program: sample session
Introduction to Dynamic Memory Allocation
Dynamic Memory Allocation: sizeof
Dynamic Memory Allocation: calloc
Dynamic Memory Allocation: free
Introduction to Command-Line Arguments
Command-Line Arguments Example
Command-Line Arguments: Sample Session
Operator Precedence Table
0 of .
Results for:
No results containing your search query
P. 1
C HandBook

C HandBook

Ratings: (0)|Views: 38|Likes:

More info:

Published by: praveenkumarlingarkar on Jul 29, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 4 to 21 are not shown in this preview.
You're Reading a Free Preview
Pages 25 to 61 are not shown in this preview.
You're Reading a Free Preview
Pages 65 to 68 are not shown in this preview.
You're Reading a Free Preview
Pages 72 to 122 are not shown in this preview.
You're Reading a Free Preview
Pages 126 to 188 are not shown in this preview.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->