Programming in Ansi C (Record no. 2445)

MARC details
000 -LEADER
fixed length control field 07099nam a2200193 4500
020 ## - INTERNATIONAL STANDARD BOOK NUMBER
International Standard Book Number 9781259004612
020 ## - INTERNATIONAL STANDARD BOOK NUMBER
International Standard Book Number 1259004619
040 ## - CATALOGING SOURCE
Transcribing agency CUS
082 ## - DEWEY DECIMAL CLASSIFICATION NUMBER
Classification number 005.133
Item number BAL/P
100 ## - MAIN ENTRY--PERSONAL NAME
Personal name Balagurusamy, E.
245 ## - TITLE STATEMENT
Title Programming in Ansi C
Statement of responsibility, etc. E. Balagurusamy
250 ## - EDITION STATEMENT
Edition statement 6th ed.
260 ## - PUBLICATION, DISTRIBUTION, ETC. (IMPRINT)
Place of publication, distribution, etc. New Delhi:
Name of publisher, distributor, etc. McGraw Hill,
Date of publication, distribution, etc. 2013.
300 ## - PHYSICAL DESCRIPTION
Extent 558 p.
505 ## - FORMATTED CONTENTS NOTE
Formatted contents note 1 Overview of C<br/>1.1 History of C 1<br/>1.2 importance of C 3<br/>1.3 Sample Program 1: Printing a Message 3<br/>1.4 Sample Program 2: Adding Two Numbers 6<br/>1.5 Sample Program 3: Interest Calculation 7<br/>1.6 Sample Program 4: Use of Subroutines 9<br/>1.7 Sample Program 5: Use of Math Functions 10<br/>1.8 Basic Structure of C Programs 12<br/>1.9 Programming Style 13<br/>1.10 Executing a'C Program 14<br/>1.11 Unix System 14<br/>1.12 MS-DOS System 17<br/>Review Questions 18<br/>Programming Exercises 20<br/>2 Constants, Variables, and Data Types<br/>2.1 Introduction 22<br/>2.2 Character Set 22<br/>2.3 C Tokens 24<br/>2.4 Keywords and Identifiers 24<br/>2.5 Constants 25<br/>2.6 Variables 29<br/>2.7 Data Types 30<br/>2.8 Declaration of Variables 33<br/>2.9 Declaration of Storage Class 37<br/>2.10 Assigning Values to Variables 38<br/>2.11 Defining Symbolic Constants 43<br/>2.12 Declaring a Variable as Constant 45<br/>2.13 Declaring a Variable as Volatile 45<br/>2.14 Overflow and Underflow of Data 45<br/>Review Questions 48<br/>Programming Exercises 50<br/>3 Operators and Expressions<br/>3.1 Introduction 52<br/>3.2 Aritfimetic Operators 52<br/>3.3 Relational Operators 55<br/>3.4 Logical Operators 56<br/>3.5 Assignment Operators 57<br/>3.6 Increment and Decrement Operators 59<br/>3.7 Conditional Operator 60<br/>3.8 Bitwise Operators 60<br/>3.9 Special Operators 61<br/>3.10 Aritfimetic Expressions 63<br/>3.11 Evaluation of Expressions 63<br/>3.12 Precedence of Arithmetic Operators 64<br/>3.13 Some Computational Problems 66<br/>3.14 Type Conversions in Expressions 68<br/>3.15 Operator Precedence and Associativity 71<br/>3.16 Mathematical Functions 73<br/>Review Questions 77<br/>Programming Exercises 80<br/>4 Managing Input and Output Operations<br/>4.1 Introduction 83<br/>4.2 Reading a Character 84<br/>4.3 Writing a Character 87<br/>4.4 Formatted Input 88<br/>4.5 Formatted Output 96<br/>Review Questions 108<br/>Programming Exercises 110<br/>5 Decision Making and Branching<br/>5.1 Introduction 112<br/>5.2 Decision Making with If Statement 112<br/>5.3 Simple If Statement 113<br/>5.4 The If Else Statement 116<br/>5.5 Nesting of If....Else Statements 120<br/>5.6 The Else If Ladder 123<br/>5.7 The Switch Statement 127<br/>5.8 The ? : Operator 131<br/>5.9 The Goto Statement 135<br/>Review Questions 143<br/>Programming Exercises 147<br/>6 Decision Making and Looping<br/>6.1 Introduction 151<br/>6.2 The while Statement 153<br/>6.3 The do Statement 155<br/>6.4 The for Statement 158<br/>6.5 Jumps in Loops 168<br/>6.6 Concise Test Expressions 176<br/>7 Arrays<br/>Review Questions 184<br/>Programming Exercises 188<br/>7.1 Introduction 192<br/>7.2 One-Dimensional Arrays 194<br/>7.3 Declaration of One-Dimensional Arrays 195<br/>7.4 Initialization of One-Dimensional Arrays 197<br/>7.5 Two-Dimensional Arrays 203<br/>7.6 Initializing Two-Dimensional Arrays 207<br/>7.7 Multi-Dimensional Arrays 215<br/>7.8 Dynamic Arrays 216<br/>7.9 More about Arrays 217<br/>Review Questions 230<br/>Programming Exercises 233<br/>8 Character Arrays and Strings<br/>8.1 Introduction 237<br/>8.2 Declaring and Initializing String Variables 238<br/>8.3 Reading Strings from Terminal 239<br/>8.4 Writing Strings to Screen 245<br/>8.5 Arithmetic Operations on Characters 249<br/>8.6 Putting Strings Together 251<br/>8.7 Comparison of Two Strings 252<br/>8.8 String-Handling Functions 253<br/>8.9 Table of Strings 259<br/>8.10 Other Features of Strings 261<br/>Review Questions 266<br/>Programming Exercises 268<br/>9 User-Defined Functions<br/>9.1 Introduction 270<br/>9.2 Need for User-Defined Functions 270<br/>9.3 A Multi-Function Program 271<br/>9.4 Elements of User-Defined Functions 274<br/>9.5 Definition of Functions 274<br/>9.6 Return Values and Their Types 277<br/>9.7 Function Calls 278<br/>9.8 Function Declaration 280<br/>9.9 Category of Functions 281<br/>9.10 No Arguments and No Return Values 282<br/>9.11 Arguments but No Return Values 284<br/>9.12 Arguments with Return Values 287<br/>9.13 No Arguments but Retums a Value 292<br/>9.14 Functions that Return Multiple Values 293<br/>9.15 Nesting of Functions 294<br/>9.16 Recursion 295<br/>9.17 Passing Arrays to Functions 296<br/>9.18 Passing Strings to Functions 301<br/>9.19 The Scope, Visibility and Lifetime of Variables 302<br/>9.20 Multifile Programs 312<br/>Review Questions 317<br/>Programming Exercises 321<br/>10 , Structures and Unions<br/>10.1 Introduction 324<br/>10.2 Defining a Structure 324<br/>10.3 Declaring Structure Variables 326<br/>10.4 Accessing Structure Members 328<br/>10.5 Structure Initialization 330<br/>10.6 Copying and Comparing Structure Variables 331<br/>10.7 Operations on Individual Members 333<br/>10.8 Arrays of Structures 334<br/>10.9 Arrays within Structures 336<br/>10.10 Structures within Structures 338<br/>10.11 Structures and Functions 340<br/>10.12 Unions 343<br/>10.13 Size of Structures 344<br/>10.14 Bit Fields 344<br/>Review Questions 351<br/>Programming Exercises 355<br/>11 Pointers<br/>11.1 Introduction 357<br/>11.2 Understanding Pointers 357<br/>11.3 Accessing the Address of a Variable 360<br/>11.4 Declaring Pointer Variables 361<br/>11.5 Initialization of Pointer Variables 362<br/>11.6 Accessing a Variable through its Pointer 363<br/>11.7 Chain of Pointers 366<br/>11.8 Pointer Expressions 366<br/>11.9 Pointer Increments and Scale Factor 368<br/>11.10 Pointers and Arrays 369<br/>11.11 Pointers and Character Strings 372<br/>11.12 Array of Pointers 374<br/>11.13 Pointers as Function Arguments 375<br/>11.14 Functions Returning Pointers 378<br/>11.15 Pointers to Functions 379<br/>11.16 Pointers and Structures 382<br/>11.17 Troubles with Pointers 384<br/>Review Questions 391<br/>Programming Exercises 394<br/>12 File Management in C<br/>12.1 Introduction 395<br/>12.2 Defining and Opening a File 395<br/>12.3 Closing a File 397<br/>12.4 Input/Output Operations on Files 398<br/>12.5 Error Handling During I/O Operations 404<br/>12.6 Random Access to Files 407<br/>12.7 Command Line Arguments 414<br/>Review Questions 416<br/>Programming Exercises 418<br/>13 Dynamic Memory Allocation and Linked Lists<br/>13.1 Introduction 419<br/>13.2 Dynamic Memory Allocation 419<br/>13.3 Allocating a Block of Memory: Malloc 420<br/>13.4 Allocating Multiple Blocks of Memory: Calloc 422<br/>13.5 Releasing the used Space: Free 423<br/>13.6 Altering the Size of a Block: Realloc 424<br/>13.7 Concepts of Linked Lists 425<br/>13.8 Advantages of Linked Lists 428<br/>13.9 Types of Linked Lists 428<br/>13.10 Pointers Revisited 429<br/>13.11 Creating a Linked List 431<br/>13.12 Inserting an Item 435<br/>13.13 Deleting an Item 438<br/>13.14 Application of Linked Lists 440<br/>Review Questions 448<br/>Programming Exercises 450<br/>14 The Preprocessor<br/>14.1 Introduction 452<br/>14.2 Macro Substitution 453<br/>14.3 File Inclusion 457<br/>14.4 Compiler Control Directives 457<br/>14.5 ANSI Additions 461<br/>Review Questions 463<br/>Programming Exercises 464<br/>15 Developing a C Program: Some Guidelines<br/>15.1 Introduction 465<br/>15.2 Program Design 465<br/>15.3 Program Coding 467<br/>15.4 Common Programming Errors 469<br/>15.5 Program Testing and Debugging 476<br/>15.6 Program Efficiency 478<br/>Review Questions 478
650 ## - SUBJECT
Keyword Computer programming
650 ## - SUBJECT
Keyword C Programming
942 ## - ADDED ENTRY ELEMENTS (KOHA)
Koha item type General Books
Holdings
Withdrawn status Lost status Damaged status Not for loan Home library Current library Shelving location Date acquired Full call number Accession number Date last seen Date last checked out Koha item type
        Central Library, Sikkim University Central Library, Sikkim University General Book Section 08/06/2016 005.133 BAL/P P33231 24/10/2018 24/10/2018 General Books
SIKKIM UNIVERSITY
University Portal | Contact Librarian | Library Portal

Powered by Koha