C program to know storage size of int, char and float
To get the exact size of a type or a variable on a particular platform, you can … Read more
To get the exact size of a type or a variable on a particular platform, you can … Read more
If you are trying to run modulo / remainder operator like below, there are higher chances you … Read more
The remainder operator (otherwise known as the modulo operator) % is a binary operator (i.e., takes exactly … Read more
As we have seen in “C program for using modulo operator, finding if number is dividable and … Read more
The scandir() function scans the directory dirp, calling filter() on each directory entry. Entries for which filter() … Read more
As we seen in previous post “Understanding Very Minimal C Program and its execution in Ubuntu Linux” … Read more
Signals are a limited form of inter-process communication (IPC), typically used in Unix, Unix-like, and other POSIX-compliant … Read more
The file mode, stored in the st_mode field of the file attributes, contains two kinds of information: … Read more
In this simple C program, we demonstrate how to use Remove System call from C to delete … Read more
Sometime we need to monitor some directory or file for some changes in it and based on … Read more