C, from theory to practice /

Bibliographic Details
Main Authors: Tselikis, George S. (Author), Tselikas, Nikolaos D. (Author)
Corporate Author: ProQuest (Firm)
Format: eBook
Language:English
Published: Boca Raton, FL : Taylor & Francis, CRC Press, [2017]
Edition:Second edition.
Subjects:
Online Access:Connect to the full text of this electronic book
Table of Contents:
  • Cover ; Half Title; Title Page; Copyright Page; Dedication; Table of Contents; Preface ; Acknowledgments ; About the Authors ; Chapter 1: Introduction to C ; History of C ; The ANSI Standard ; Advantages of C ; Disadvantages of C ; C Program Life Cycle ; Writing a C Program ; Our First C Program ; The #include Directive ; The main() Function ; Comments ; Compilation ; Common Errors ; Linking ; Run the Program ; Chapter 2: Data Types, Variables, and Data Output ; Variables ; Naming Variables ; Declaring Variables ; Assignment of Values and Constants ; Arithmetic Conversions ; Type Qualifiers
  • The #define Directive The printf() Function ; Escape Sequences ; Conversion Specifications ; Return Value ; Printing Variables ; Optional Fields ; Precision ; Field Width ; Prefix ; Flags ; Exercises ; Unsolved Exercises ; Chapter 3: Getting Input with scanf() ; The scanf() Function ; Use of Ordinary Characters ; Return Value ; Exercises ; Unsolved Exercises ; Chapter 4: Operators ; The = Assignment Operator ; Arithmetic Operators ; The ++ and
  • Operators ; Relational Operators ; Exercises ; Compound Assignment Operators ; Logical Operators ; The ! Operator ; The && Operator
  • The || Operator Exercises ; The Comma Operator ; The sizeof Operator ; The enum Type ; Bitwise Operators ; The & Operator ; The | Operator ; The ^ Operator ; The ~ Operator ; Shift Operators ; Exercises ; Operator Precedence ; Unsolved Exercises ; Chapter 5: Program Control ; The if Statement ; Common Errors ; The if-else Statement ; Nested if Statements ; Exercises ; The Conditional Operator ?: ; Exercises ; The switch Statement ; switch versus if ; Exercises ; Unsolved Exercises ; Chapter 6: Loops ; The for Statement ; Omitting Expressions ; Exercises ; The break Statement
  • The continue Statement Exercises ; Nested Loops ; Exercises ; The while Statement ; Exercises ; The do-while Statement ; Exercises ; The goto Statement ; Unsolved Exercises ; Chapter 7: Arrays ; One-Dimensional Arrays ; Declaring Arrays ; Accessing Array Elements ; Array Initialization ; Exercises ; Two-Dimensional Arrays ; Declaring Arrays ; Accessing Array Elements ; Array Initialization ; Exercises ; Unsolved Exercises ; Chapter 8: Pointers ; Pointers and Memory ; Pointer Declaration ; Pointer Initialization ; Null Pointers ; Using a Pointer ; Exercises ; The void* Pointer
  • Use of const Qualifier Pointer Arithmetic ; Pointers and Integers ; Subtracting and Comparing Pointers ; Exercises ; Pointers and Arrays ; Exercises ; Array of Pointers ; Exercises ; Pointer to Pointer ; Exercises ; Pointers and Two-Dimensional Arrays ; Exercises ; Pointer to Function ; Array of Pointers to Functions ; Unsolved Exercises ; Chapter 9: Characters ; The char Type ; Exercises ; The getchar() and putchar() Functions ; Exercises ; Chapter 10: Strings ; String Literals ; Storing Strings ; Exercise ; Writing Strings ; Exercises ; Pointers and String Literals ; Exercises