Modern C for Absolute Beginners A Friendly Introduction to the C Programming Language
Learn the basics of C, the C standard library, and modern C standards. Complete with modern, up-to-date examples and screenshots, this new edition is fully updated and reworked with the latest C23 standards and features. C is a language that is as popular today as it was decades ago. It can be used...
Main Author: | |
---|---|
Format: | eBook |
Language: | English |
Published: |
Berkeley, CA
Apress L. P.
2024
|
Edition: | 2nd ed |
Subjects: | |
Online Access: | |
Collection: | O'Reilly - Collection details see MPG.ReNa |
Table of Contents:
- 7.2.2 if-else
- 7.2.3 switch
- 7.3 Iteration Statements
- 7.3.1 while
- 7.3.2 do-while
- 7.3.3 for
- Chapter 8: Exercises
- 8.1 Arithmetic Operations
- 8.2 Integral Division
- 8.3 Floating-Point Division and Casting
- 8.4 Equality Operator
- 8.5 Relational and Logical Operators
- 8.6 The switch Statement
- 8.7 Iteration Statements
- Chapter 9: Arrays
- 9.1 Declaration
- 9.2 Subscript Operator
- 9.3 Array Initialization
- 9.4 Character Arrays
- 9.5 Multidimensional Arrays
- 9.6 Array Size and Count
- Chapter 10: Pointers
- 10.1 Introduction
- 3.5.2 double
- 3.5.3 long double
- Chapter 4: Exercises
- 4.1 Hello World with Comments
- 4.1.1 Declaration
- 4.1.2 Definition
- 4.1.3 Outputting Values
- Chapter 5: Operators
- 5.1 Introduction
- 5.2 Arithmetic Operators
- 5.3 Assignment Operator
- 5.4 Compound Assignment Operators
- 5.5 Relational Operators
- 5.6 Equality Operators
- 5.7 Logical Operators
- 5.8 Increment and Decrement Operators
- 5.9 Operator Precedence
- Chapter 6: Expressions
- 6.1 Initialization
- 6.2 Type Conversion
- Chapter 7: Statements
- 7.1 Introduction
- 7.2 Selection Statements
- 7.2.1 if
- 13.4.1 Passing Arguments
- Passing by Value
- Passing by Pointer/Address
- 13.5 Return Statement
- Chapter 14: Exercises
- 14.1 A Simple Function
- 14.2 Function Declaration and Definition
- 14.3 Passing Arguments by Value
- 14.4 Passing Arguments by Pointer/Address
- 14.5 Function - Multiple Parameters
- Chapter 15: Structures
- 15.1 Introduction
- 15.2 Initialization
- 15.3 Member Access Operator
- 15.4 Copying Structures
- 15.5 Pointers to Structures
- 15.6 Self-Referencing Structures
- 15.7 Structures as Function Arguments
- Chapter 16: Unions
- Intro
- Table of Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Part I: The C Programming Language
- Chapter 1: Introduction
- 1.1 What Is C?
- 1.2 What Is C Used For?
- 1.3 C Compilers
- 1.3.1 Installing Compilers
- 1.3.1.1 On Linux
- 1.3.1.2 On Windows
- 1.4 C Standards
- Chapter 2: Our First Program
- 2.1 Function main()
- 2.2 Comments
- 2.3 Hello World
- Chapter 3: Types and Declarations
- 3.1 Declarations
- 3.2 Introduction
- 3.3 Character Type
- 3.4 Integer Type
- 3.5 Floating-Point Types
- 3.5.1 float
- 10.2 Declaration and Initialization
- 10.3 Pointers and Arrays
- 10.4 Pointer Arithmetics
- 10.5 Void Pointers
- 10.6 Pointer to Character Arrays
- 10.7 Arrays of Pointers
- Chapter 11: Command-Line Arguments
- Chapter 12: Exercises
- 12.1 Character Array
- 12.2 Array Elements
- 12.3 Pointer to an Existing Object
- 12.4 Pointers and Arrays
- 12.5 Pointer to a Character Array
- 12.6 Pointer Arithmetics
- 12.7 Array of Pointers
- Chapter 13: Functions
- 13.1 Introduction
- 13.2 Function Declaration
- 13.3 Function Definition
- 13.4 Parameters and Arguments