C Programming Code Examples
C > Linked Lists Code Examples
Split Doubly Linked List in C Programming language
Nested Namespace in C++ Programming -
In C++ programming, you can create nested 'namespaces'. One namespace can be a part of another namespace. Simply we can create namespace X, which will contain namespace
Multiple Initialization Inside For Loop in C -
1. It is initializing two variables. Note: both are separated by comma (,). 2. It has two test conditions joined together using AND (&&) logical operator. You cannot use multiple test
Perimeter of a Circle Rectangle & Triangle -
This C Program calculates the perimeter of a circle, rectangle and triangle. This program is used to find the perimeter of circle, rectangle and triangle. Perimeter of rectangle: 2 *(x+y)
C++ Programming Merge Files and Store -
C++ program 'merge two files' and store the content of both file into another file. First file name and second file name (say file1.txt and file2.txt), then Third file name that is used to
C++ Shutdown & Restart Your Computer -
C++ sample made for both i.e., to shutdown your computer or to 'restart your computer', first it will ask to the user want to shutdown computer or want to restart computer. Then
Use Local Variables in The C++ Language -
Global variables are accessible in full file. But "local variables" are not accessible in full file. And the local variable's scope is between the block of instruction that is defined between
C code to Check and Read Identity Matrix -
C program to read elements in a matrix and check whether matrix is an Identity matrix or not. Identity matrix is a special square matrix whose main diagonal elements is equal to 1
Cpu Scheduling Sample in C++ Language -
Getting the No of processes and Burst Time. "First come First served" Algorithm. Shortest job first algorithm with preemption. Shortest job First Algorithm with NonPreemption. Cpu