How to use #Ifndef directive in C program ?

#ifndef in C

#ifndef ( if not defined ) directive is used in C language for conditional execution of certain … Read more

Fixed : error: #elif with no expression

C pre-processor error

When we want to make a compile time decisions to enable some code and disable other, #ifdef … Read more

How to implement linked list in C programming ?

This programs shows a simple way to implement singly link list ( Singly link list is the … Read more

Functions in C

Function in C programming is a group of statements which are separated from main task for the … Read more

How executable is created during compilation on Linux ?

This code is tested on Ubuntu . You may need to twick the script if you use a … Read more

How to call Assembly function from C code ?

In this post, we use ARM are reference architecture for writing the assembly code but the basic … Read more

How to implement stack in C programming ?

In continuation of demonstrating simple implementation of data structures, as we shown in our last post “How … Read more

Using electric fence for debugging memory leaks in Linux

Electric Fence helps you detect two common programming bugs: software that overruns the boundaries of a malloc() memory … Read more

C program to print Hex values of characters in string

Following program prints the hexadecimal values of all the characters in any string. Currently we have used … Read more