C programming test your skills

C Programming: Test Your Skills is specifically designed to be used as the supplementary resource for learning C Programming. It is ideal for self practice or test preparation and hones one's problem solving abilities through varieties of exercises

Bibliographic Details
Main Author: Kamthane, Ashok N.
Format: eBook
Language:English
Published: Delhi Pearson 2010
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
Table of Contents:
  • The Pre-Defined Marcos in ctype.h
  • Exercises
  • Answers
  • Structure and Union
  • Basics of Structure
  • Features of Structures
  • Definition and Declaration of Structure
  • Structure within a Structure
  • Array of Structures
  • Pointer to Structure
  • Structure and Functions
  • typedef
  • Bit Fields
  • Enumerated Data Type
  • union
  • Calling BIOS and DOS Services
  • Union of Structures
  • Exercises
  • Answers
  • Files
  • Introduction of a File
  • Definition of a File
  • Streams and File Types
  • File Types
  • Steps for File Operations
  • Opening of File
  • Text Modes
  • Binary Modes
  • Reading a File
  • Closing a File
  • File I/O
  • Other File Functions
  • The fseek() Function
  • Searching Errors in Reading/Writing Files
  • Low-Level Disk I/O
  • Command Line Arguments
  • Exercises
  • Answers
  • Graphics
  • Introduction
  • Initialization of Graphics
  • Few Graphics Functions
  • Programs Using Library Functions
  • Working with Text
  • Filling Patterns with Different Colors and Styles
  • Mouse Programming
  • Drawing Non-Common Figures
  • Summary
  • Exercises
  • Answers
  • Appendices
  • Appendix A
  • Appendix B
  • Appendix C
  • Index
  • Initialization of Three-Dimensional Arrays
  • Arrays and Pointers
  • Array and Function
  • Exercises
  • Answers
  • String Operations and Standard Functions
  • Definition of String
  • Declaration and Initialization of a String
  • Display of Strings with Different Formats
  • String Standard Functions
  • Exercises
  • Answers
  • Pointers
  • Pointer Definition
  • Features of Pointers
  • Pointers and Addresses
  • Pointer Declaration
  • Arithmetic Operations with Pointers
  • Pointers and Arrays
  • Pointers to Pointers
  • Dynamic Memory Allocation
  • Memory Allocation Functions
  • Exercises
  • Answers
  • Functions
  • Introduction
  • Definition of Function
  • Why Use Functions?
  • How Function Works?
  • Function Definition Syntax
  • The Return Statement
  • Types of Functions
  • Without Arguments and Return Values
  • With Arguments But Without Return Values
  • Function With Passing Arguments and Return Values
  • Function Without Passing Arguments, But With Return Values
  • Call by Value and Reference
  • Function Returning More Values
  • Function as an Argument
  • Function With Operators
  • Function and Decision Statements
  • Function and Loop Statements
  • Functions With Arrays and Pointers
  • Initialization of Array Using Function
  • Passing Array Elements to Function
  • Recursion
  • Library Functions
  • Exercises
  • Answers
  • Storage Class
  • Introduction
  • Automatic Variables
  • External Variables
  • Static Variables
  • Register Variables
  • Exercises
  • Answers
  • Preprocessor Directives
  • Introduction
  • #define Directive
  • Undefining a Macro
  • Token Pasting and Stringizing Operators
  • #include Directive
  • Conditional Compilation
  • #ifndef Directive
  • #error Directive
  • #line Directive
  • inline Directive
  • #pragma Saveregs
  • The Pre-Defined Macros in ANSI and Turbo C
  • ANSI C Pre-Defined Macros
  • Turbo C Pre-Defined Macros
  • Cover
  • C Programming Test Your Skills
  • Copyright
  • Contents
  • Preface
  • Acknowledgements
  • About the Author
  • Computer Fundamentals and Brief Information on C
  • Components of a Computer
  • Latest Computers
  • Algorithm
  • Sequence, Selection and Iteration
  • Flowcharts
  • An Overview of Compilers and Interpreters
  • Structure of a C Program
  • C Programming Rules
  • Executing the Program
  • An Example of a C Program
  • Exercises
  • Answers
  • The C Declarations
  • Introduction
  • The C Character Set
  • Delimiters
  • Types of Tokens
  • The C Keywords
  • Identifiers
  • Constants
  • Numeric Constants
  • Character Constants
  • Variables
  • Rules for Defining Variables
  • C Data Types
  • Basic Data Type
  • The Void Data Type
  • Initializing Variables
  • Dynamic Initialization
  • Type Modifiers
  • Type Conversion
  • Wrapping Around
  • Constant and Volatile Variables
  • Constant Variable
  • Volatile Variable
  • Exercises
  • Answers
  • Operators and Expressions
  • Operators
  • Arithmetic Operators
  • Relational Operators
  • Logical Operators
  • Increment and Decrement Operators
  • Assignment Operators and Expressions
  • Comma and Conditional Operator
  • Bitwise Operators
  • Exercises
  • Answers
  • Decision Control
  • Control Structures
  • if Statement
  • if-else Statement
  • Nested if-else Statement
  • switch Statement
  • switch Execution
  • Exercises
  • Answers
  • Loop Control Statements
  • What is a Program Loop?
  • for Loop
  • Nested for Loops
  • while Loop
  • do-while
  • do-while Statement with while Loop
  • break Statement
  • continue Statement
  • goto Statement
  • Exercises
  • Answers
  • Arrays
  • Definition of an Array
  • Declaration of One-Dimensional Array
  • One-Dimensional Array Initialization
  • Access to One-Dimensional Array Elements
  • Printing One-Dimensional Array Elements
  • Initialization of Two-Dimensional Array