C Program to Execute Linux Commands

Following program shows how you can run some Linux commands from C program using C library API … Read more

C program to read file properties using stat() function

Stat for file information

Stat system call in Linux return information about a file, in the buffer pointed to by buf. … Read more

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

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