Skip to content

caldotdev/starting-to-C-clearly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C'ing clearly

I'm learning the basics of C and I'm using this repository to store my projects and to track my progress.

Following The C Programming Language by Brian W. Kernighan and Dennis M. Ritchie in the 2nd edition for now.

Currently at: Chapter 2.8

Notes

  • integer division truncates

  • null statements satisfy statement body constraints:

    for (c = 0; getchar() != EOF; ++c)
      ;
  • character constants are numerical values of character: 'a' is 97 in ASCII

  • because assignments are left associating expressions you can do:

    nl = nw = nc = isSeq = 0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages