Tag: C language
Unspecified Behaviour in C and C++
This article covers the various aspects of unspecified behaviour in the C and C++ programming languages. It is a sequel to earlier articles on...
Understanding Undefined Behaviour in C
In the first part of this article, we discussed sequence points in C as well as case studies of undefined behaviour, using various examples...
What’s New in C++11 and C++14?
The C++ general-purpose programming language has evolved considerably over time. In this article, the author discusses some of the changes brought about by the...
Different C Standards: The Story of C
This article covers the various standards of the C language, from K&R C through ANSI C, C99, C11 and Embedded C.
I have always wanted...
A quick look at integer promotion in C
Data types like char and short int take a fewer number of bytes than int. These data types are automatically promoted to int or...
Microsoft extends C language with power of open source
Microsoft has released a new research project called Checked C that extends the existing C language. The new offering emerges as an open source...
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,...
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...
Joy of Programming: About the Java Overflow Bug
[The Joy of Programming] In this column, we’ll discuss a common overflow bug in JDK, which surprisingly occurs in the widely used algorithms like binary search and mergesort in C-based languages.