Home Tags Pointers

Tag: pointers

How do Arrays Decay into Pointers?

This article is for C programming newbies and enthusiasts. It deals with how arrays are passed as parameters to a function decays into pointers. Many...

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...
Advertisement

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...

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

CodeSport

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...

CodeSport

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...
Advertisement

CodeSport

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...

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...

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...
Advertisement

Block title