C Programming Code Examples
C > Linked Lists Code Examples
Combine Two Doubly Linked Lists
C++ Check whether a Vertex Cover of Size -
The problem takes E edges as input and then outputs whehter vertex cover of size K of the graph exists or not. 'Vertex Cover of a Graph' is, a set of vertices S, such that for every edge
Copy one String into Other without library -
Scan a string from "left to right", character by character. In each iteration "copy a character" to a new String variable. As soon as source or original string ends, the process of the coping
Code split an array from specified position -
Program code splits an array from specified position & add first part to the end. program first accepts an array. And then splits an array according to the user specification. Now it...
identical to scanf() example in C language -
C programming code to Identical to scanf() except that data is from buf. The number of variables assigned. A value of zero means that no fields were assigned. EOF indicates
Number Decimal System to Binary System -
C Language program code to using recursion finds a binary equivalent of a decimal number entered by the user. The user has to enter a decimal which has a base 10 and the program
C++ Coding Find Factorial using recursion -
User enters a number which stores in variable "num". Then number "passes as argument" in function call A static variable is used to check that how many times function is called. When
C++ Sample Code Implement Bubble Sort -
Bubble sort algorithm sort data by comparing 2 consecutive numbers. The time Complexity of this algorithm is O(n^2). And compare two consecutive number. Switch values if number
Program Code to Reverse Copy Array in C -
How to reverse copy array in C programming language. This program code shall help you learn one of basics of arrays. We shall copy one array into another array but in reverse.