Loop in C Part II

In the first part of tutorial we have studied about while and do-while loop. In this tutorial we are going to study ‘for loop’, a very important loop in C, and off course very handy one. In for loop number of repetitions needed for the loop is known before the loop begins; these loops have control

Read more

Understanding Volatile in C

Many C programmers get confused about Volatile keyword.  The actual definition and applicability of the volatile keyword is often misconstrued in the context of the C language. Most of the tutorials don’t elaborate it to extend. This article will first briefly explain volatile and its history and then, through a series of examples about how not to use it, how to most effectively create correct systems software using volatile.

Read more