C Programming And Data Structures

Front Cover
Technical Publications, Jan 1, 2007 - 432 pages
2 Reviews
Algorithm/pseudo code, Flowchart, Program development steps, Structure of C program, A simple C program, Identifiers, Basic data types and sizes, Constants, Variables, Arithmetic, Relational and logical operators, Increment and decrement operators, Conditional operator, Bit-wise operators, Assignment operators, Expressions, Type conversions, Conditional expressions, Precedence and order of evaluation. Input-output statements, Statements and blocks, If and switch statements, Loops - while, do-while and for statements, Break, Continue, goto and labels, Programming examples.Designing structured programs, Functions, Basics, Parameter passing, Storage classes - Extern, Auto, Register, Static, Scope rules, Block structure, User defined functions, Standard library functions, Recursive functions, Header files, C preprocessor, Example C programs.Arrays - Concepts, Declaration, Definition, Accessing elements, Storing elements, Arrays and functions, Two-dimensional and multi-dimensional arrays, Applications of arrays, Pointers - Concepts, Initialization of pointer variables, Pointers and function arguments, Address arithmetic, Character pointers and functions, Pointers to pointers, Pointers and multi-dimensional arrays, Dynamic memory managements functions, Command line arguments, C program examples.Derived types - Structures - Declarations, Definition and initialization of structures, Accessing structures, nested structures, Arrays of structures, Structures and functions, Pointers to structures, Self referential structures. Unions, Typedef, Bitfields, C program examples. Input and output - Concept of a file, Text files and binary files, Streams, Standard I/O, Formatted I/O, File I/O operations, Error handling, C program examples.Searching - Linear and binary search methods, Sorting - Bubble sort, Selection sort, Insertion sort, Quick sort, Merge sort.Data structures, Singly linked lists, Doubly linked lists, Circular list, Representing stacks and queues in C using arrays and linked lists, Infix to postfix conversion, Postfix expression evaluation.Trees - Binary tress, Terminology, Representation, Traversals, Graphs - Terminology, Representation, Graph traversals (dfs & bfs)
 

What people are saying - Write a review

User Review - Flag as inappropriate

its a good text book

User Review - Flag as inappropriate

this is book is nise

Contents

i a a mm
1-1
Review Questions 2
2-29
Chapter4 lnput and Output Statements 41 to 424
4-1
Chapter8 Arrays 8 1 to 840
4-8
Chapter5 Oecision Making Branching and Looping 51 to 538
5-2
Review Questions 619
6-19
Review Questions 7
7-12
Structures and Unions 10 1 to 10
10-1
Demonstrates preincrement and post increment
4
Displays sine of the angle A 5
5
Program demonstrates the use of addresses in function arguments A 6
6
Finds the square of array elements A 7
7
Finds the average of array elements
8
lllustrates the use of break statement for the termination of loop A 9
9
Stimulates calculator A10
10
Demonstrates use of enum A14
14

Chapter11 File lnputOutput 111 to 1124
11-1
linked List 131 to 13
13-13
Chapter14 Non Linear Data Structures 141 to 1446
13-35
jjpeM5 Sorting __ Searching 151 to 15
15-1
Displays cosine of the angle A 1
1
Checks whether string is palindrome or not A 2
2
Displays the Pascals triangle
3
Reads temperature in fahrenheit converts to Celsius and maintains the equivalent values in variable of structures type A15
15
Computes mean variance and standard deviation A 20
20
Searches a target element and if found displays its location in the array otherwise it displays message that target element is not within the array A 22
22
Sorts array in the ascending order using insertion sort method A 23
23
Sorts the array in the ascending order using selection sort A 24
24
Computes square and cube A 25
25
Copyright

Other editions - View all

Common terms and phrases

Bibliographic information