# Programming In C | Learn Programming

**URL:** <https://onehack.st/t/programming-in-c-learn-programming/167210>\
**Category:** Tutorials & Methods\
**Tags:** ebook, programming, tips-tricks, technology\
**Created:** [December 23, 2020, 12:32pm UTC](https://onehack.st/t/programming-in-c-learn-programming/167210 "2020-12-23T12:32:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlayBoy83](https://onehack.st/user_avatar/onehack.st/playboy83/32/164314_2.png) [@PlayBoy83](https://onehack.st/u/PlayBoy83)\
**Post date:** [December 23, 2020, 12:32pm UTC](https://onehack.st/t/programming-in-c-learn-programming/167210/1 "2020-12-23T12:32:05Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/f/2/f23ab87b12c31dc65183538d46685e46012b6d6f.jpeg)

THE C PROGRAMMING LANGUAGE WAS pioneered by Dennis Ritchie at AT&T Bell Laboratories in the early 1970s. It was not until the late 1970s, however, that this programming language began to gain widespread popularity and support. This was because until that time C compilers were not readily available for commercial use outside of Bell Laboratories. Initially, C’s growth in popularity was also spurred on in part by the equal, if not faster, growth in popularity of the Unix operating system.This operating system, which was also developed at Bell Laboratories, had C as its “standard” programming language. In fact, well over 90% of the operating system itself was written in the C language!

The enormous success of the IBM PC and its look-alikes soon made MS-DOS the most popular environment for the C language.As C grew in popularity across different operating systems, more and more vendors hopped on the bandwagon and started marketing their own C compilers. For the most part, their version of the C language was based on an appendix found in the first C programming text—The C Programming Language—by Brian Kernighan and Dennis Ritchie. Unfortunately, this appendix did not  
provide a complete and unambiguous definition of C, meaning that vendors were left to interpret some aspects of the language on their own.

**Contents At a Glance**

Preface xvii  
1 Introduction 1  
2 Some Fundamentals 5  
3 Compiling and Running Your First Program 11  
4 Variables, Data Types, and Arithmetic  
Expressions 21  
5 Program Looping 43  
6 Making Decisions 65  
7 Working with Arrays 95  
8 Working with Functions 119  
9 Working with Structures 165  
10 Character Strings 195  
11 Pointers 235  
12 Operations on Bits 279  
13 The Preprocessor 299  
14 More on Data Types 321  
15 Working with Larger Programs 333  
16 Input and Output Operations in C 347  
17 Miscellaneous and Advanced Features 373  
18 Debugging Programs 389  
19 Object-Oriented Programming 411  
A C Language Summary 425  
B The Standard C Library 467  
C Compiling Programs with gcc 493  
D Common Programming Mistakes 497  
E Resources 501

[Download](https://mega.nz/file/fegmnKZR#pPUCCAXpcLRQocFWTI0N2d9uah9UufOM_jBW0O0o3aI)

**Happy learning!**
