Recent Blogs
“Modern C”: Notes on chapter 5 “Basic values and data”
These are my notes taken while reading chapter 5 “Basic values and data” from the book “Modern C” by Jens Gustedt.
This chapter discusses values of different objects that are used in a C program, and how they are represented.
Array and pointers equivalence myth
I’d like to share some knowledge about subtle thing that I have learned recently in C. It is related to the relations between arrays and pointers, and how they are often treated as equivalent to each other (for example, this is how passing an array to a function works when one of the expected arguments is a pointer). However, arrays and pointers are not equivalent to each other.
“Modern C”: Notes on chapter 4 “Expressing computations”
These are my notes taken while reading chapter 4 “Expressing computations” from the book “Modern C” by Jens Gustedt.
This chapter discusses expressions, that is, computations based on some values, such as variables and literals.