Simple explanation of Inline Functions In C

Last year I was working to optimize a (C) code and improve the performance of a product. One of the measures taken was to change simple and small functions which were called numerous times to inline functions.I know of existence of

Static And Shared C Libraries

C Libraries What is a library: A library is simply a file that contains or rather groups together multiple compiled object code files to a single file that is to be incorporated later into a program. Functions which are

Using gdb to skip irrelevant failure while debugging at remote-site

Many a times in big team projects, you have many errors(say X) in code which don't happen to be your current focus(say A).Normally, developers add there code in various option exactly for this purpose to suppress irrelevant but failing cod

little / big endian mystery

This article is an attempt to resolve the mystery behind the often misunderstood and ever-confusing, though relatively simpler terms known as little / big endian. The term came from famous Gulliver's Travels by J. Swift where two groups could not dec

BitWise Operators - interview Questions

In this article I am going to present few interview problems that are directly based upon the concepts of bitwise operations. I would urge you to please go back and check BitWise Operators Basic Tutorial and BitWise Operators Advanced Trick

BitWise Operators Advanced Tricks

This article is an extension of BitWise Operators - Basic Tutorial. In this article we will look at some complex application of bitwise operators.

BitWise Operators - Basic Tutorial

In this article we will discuss about the bitwise operators and their application in practical applications with some examples with required explanation. For simplicity lets stick to C/C++ for this article. The lowest level of data that we

useful do while(0) trick

This article is about an useful programming trick to avoid writing clumsy and highly nested if-else conditions. The perfect example of this could be - "error handling code". Let me present you with a clumsy error - handling code which