Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes

C Programming Code Examples

C > Linked Lists Code Examples

Program to Combine Two Linked List

C++ Codes Store Information of a Student - In this C++ program, a "structure" (student) is created which contains name, roll and marks as its 'data member'. A structure variable(s) is created. Then, data (name, roll and marks) is

Find the Frequency of Substring in Strings - Take a string and a substring as input. Store it in the arrays 'str[] & str1[]' respectively. Using For Loop to 'compare' str1[] with the str[]. Do step2 until the end of main string. During the

C++ Language Character & String Literals - When writing both single "character & string" literals, it is Necessary to 'Put the Quotation' marks surrounding them to distinguish them from possible variable identifiers or reserved

C++ Code Add Two Matrix with 2D Arrays - 2 const variables row & col are used to define size. If we do not make both const then error found because without "const reserve word" they are behaving as variable. Before placing

Program to Find Inverse of a Graph Matrix - C++ code displays the Gauss Jordan method of computing inverse of a matrix. it proceeds with row by row "reduction of matrix" to unit matrix column-wise. First enter the order of

C++ Codings Find the Maximum Subarray - Implement the 'naive method' to find the sub array having a maximum sum. The worst case time 'Complexity' of the algorithm is 'O(n*n)'. Take the input of the 'integer array'. Compare

Generate All Possible Subsets With Exactly - Algorithm takes the input of "n" data element and 'prints all possible' combination of length 'k'. It maintains a boolean array of length 'n'. If the corresponding boolean value is true, then

Program Convert Lowercase to Uppercase - To convert the uppercase string to lowercase string in 'C++', ask to enter a string, now start converting Lowercase to Uppercase by using ASCII values. To convert Lowercase String to