Dynamic memory allocation in C

Hi friends today we are going to discuss about dynamic memory allocation, this plays a very important role in embedded development. Specially when your product is based on data entry type of application.

Dynamic allocation is a unique feature to C language. Dynamic memory allocation allows a program to obtain more memory space, while running or to release space when

Read more

C Pit fall: Tips and traps

I’ve observed that newcomers to C often getting messed up, even C experts come across problems that require days of debugging to fix. I have seen so many people having difficulty in differentiating between char *book[26] and char book[26]. People get’s errors due to using one instead of the other.
I feel rather calling it as C pit fall, should have called common mistakes made by new comers or some times even experienced programers. This artical is publish to make aware of these common pit falls while programing in C.

Read more

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

Looping in c

In every programming language, thus also in the C programming language, there are circumstances were you want to do the same thing many times. For instance you want to print the same words ten times. You could type ten printf function, but it is easier to use a loop. The only thing you have to do is to setup a loop that execute the same printf function ten times.

There are three basic types of loops which are:

Read more