Function Pointers and Callbacks in C — An Odyssey
Function pointers are among the most powerful tools in C, but are a bit of a pain during the initial stages of learning. This article demonstrates the basics of function pointers, and how…
Joy of Programming: Fail Fast!
When a problem occurs in the software, it should fail immediately, in an easily noticeable way. This “fail fast” behaviour is desirable, and we’ll discuss this important concept in this column. At first,…
Joy of Programming: The Legacy of C
Dennis Ritchie died on the 8th of October 2011, at the age of 70. His lasting contributions to computing include creating the C language, and co-creating the UNIX operating system. In his memory,…
CodeSport (April 2011)
Welcome to CodeSport! In this month’s column, we feature a set of programming questions, as requested by a few of our student readers. In last month’s column, we discussed a few of the…
CodeSport (March 2011)
Welcome to CodeSport! In this month’s column, we turn our attention to software coding errors, which lead to buggy code. We will discuss different types of software bugs caused by software coding errors,…
Joy of Programming: Why C is a Middle-Level Language!
C has low-level language features disguised as high-level features. We’ll look at two case studies — arrays and functions — to understand what we mean by a “middle-level language”. First, look at some…
Joy of Programming: Questions and Answers on C
Let’s look at some of the queries received from readers relating to programming in C. Q. Where are enum members stored in memory? How does the compiler generate code for enumerations? – Ashwin…





