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

Table Of Contents

Why Learn C?
Canonical First Program Output & Comments
Header Files
Names in C
Comments
Why use comments?
Symbolic Constants
Use of Symbolic Constants
Declaring Variables
Basic Format
Basic Data Types: INTEGER
Expressions and Statements
The Assignment Operator
The Assignment Operator Evaluation
Initializing Variables
Initializing Variables Example
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: The Assignment Operator
Type Casting
Basic Output
printfFunction
Format Specifiers Table
Special Characters for Cursor Control
Basic Output Examples
Basic Input
Basic Input Example
Basic Input Example (Two Variables)
Introduction to Program Looping
Relational Operators
Relational Operators Table
forLoop
forLoop Example
forLoop Diagram
whileLoop Example
do whileLoop Example
do whileLoop Example: Error Checking
Introduction to Decision Making Statements
ifStatement
ifStatement Examples
if-elseStatement
switchStatement
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
String I/O Sample Program
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 Modular Programming
Three Steps Required
Function Definition
Function Definition Example 1
Function Definition Example 2
return Statement
return Statement Examples
Using Functions
Considerations when using Functions
Pass-by-Value
Introduction to Function Prototypes
Function Prototypes
Recursion
Storage Classes
auto Storage Class
extern Storage Class
extern Storage Class Example
static and register Storage Class
Formatted Output
char and intFormatted Output Example
f Format Identifier
e Format Identifier
Real Formatted Output Example
s Format Identifier
Strings Formatted Output Example
Formatted Input
Formatted Input Examples
Pointer Uses
Memory Addressing
The Address Operator
Pointer Variables
Pointer Arithmetic
Indirection Operator
Memory Point-of-View
“Call-by-Reference”Arguments
Tripling Function
Swap Function
Pointers and Arrays
Pointers and Arrays Figure
Pointers and Arrays Examples
Arrays as Function Arguments
Arrays as Function Arguments Example
Pointers and Character Strings
Alternate Definition of a String
Introduction to Structures
Structure Variable Declaration
Structure Members
Initializing Structure Members
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
String-to-Number Conversion
Operator Precedence Table
Problem Set
0 of .
Results for:
No results containing your search query
P. 1
u-p-cprogfinal

u-p-cprogfinal

Ratings: (0)|Views: 3,441|Likes:
Published by Soniya Gupta

More info:

Published by: Soniya Gupta on Oct 21, 2011
Copyright:Attribution Non-commercial

Availability:

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

11/24/2011

pdf

text

original

You're Reading a Free Preview
Pages 5 to 19 are not shown in this preview.
You're Reading a Free Preview
Pages 24 to 27 are not shown in this preview.
You're Reading a Free Preview
Pages 32 to 201 are not shown in this preview.
You're Reading a Free Preview
Pages 206 to 207 are not shown in this preview.
You're Reading a Free Preview
Pages 212 to 216 are not shown in this preview.

You're Reading a Free Preview

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