Size of an Empty Struct?

Probably one of the basic questions… And answer is present in all the basic books. But a recent discussions motivated me to investigate a bit.

Continue reading “Size of an Empty Struct?”

Pointers – Vows and Concerns

One great feature managed environments such as java and .net claim is the role and use of garbage collector. In this article we will be looking and the main pointer vows of C/C++ which acted as motivation for evolution of managed environment and garbage collection. In this section we will talk about

  • Wild Pointer
  • Dangling Pointer
  • Memory Leak

Continue reading “Pointers – Vows and Concerns”

C – A Brief History

C is quirky, flawed and an enormously success – Dennis Ritchie

The story of the success of C is often told and retold. C is deemed as the mother of all modern programming languages since almost all surviving modern programming language finds it origin or resemblance with this language. However there are two points that must be interesting to note about this very high profile mother of modern programming languages –First, the story of C begins, interestingly, with a failure.

Continue reading “C – A Brief History”