What is an Operating System?
An operating system is a layer of software residing just above the hardware, hiding intricate interfacing details and providing an intuitive, easy to use virtual machine. Table of Contents A…
An operating system is a layer of software residing just above the hardware, hiding intricate interfacing details and providing an intuitive, easy to use virtual machine. Table of Contents A…
String library functions The string library in C provides functions to operate on strings. There are two kinds of string manipulation functions. Strings are terminated by the null character, and…
Strings A string is a sequence of characters. A string in the C language has the null character, '\0', at the end. A string with zero characters has just the…
1.0 Day of Week The Gregorian calendar was adopted in 1582. The formula to find the day of the week for any date after 1582 is, d = N +…
1.0 Flex and Bison Flex and Bison are software tools used for processing structured input. Flex stands for "fast lexical analyzer" and is used for scanning the input and breaking…
1.0 Problem Suppose there are n concurrent peer processes, where n > 1. All these processes have a checkpoint, which is an important point in the execution trace of the…
Regular expressions are used for searching strings in text files. A regular expression is a string of characters and may contain certain metacharacters. A metacharacter has a special meaning. A…
The dining philosophers problem is about deadlock in concurrent systems. The dining philosophers problem is explained with example programs.
1.0 Introduction Passwords provide a level of security for digital assets. To be effective, passwords need to sufficiently long. random and chosen from a big underlying domain.In this post, we…
A structure, in the C programming language, is a collection of variables of various types, mostly for an entity. The variables are listed in a sequence and occupy consecutive locations…