"pointers" tag
Function Pointers and Callbacks in C

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…

Fail Fast!

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,…

Dennis MacAlistair Ritchie

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,…

Lots of questions this time...

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…

Dealing with coding errors

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,…

Question time!

CodeSport (November 2010)

Welcome to CodeSport! In this column, we provide the solutions to a few of the questions we had featured last month. Last month’s column featured solutions to a medley of questions on computer…

Why C is a Middle-Level Language!

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…

Questions and Answers on C

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…

All published articles are released under Creative Commons Attribution-NonCommercial 3.0 Unported License, unless otherwise noted.
Open Source For You is powered by WordPress, which gladly sits on top of a CentOS-based LEMP stack.

Creative Commons License.