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 > Arrays and Matrices Code Examples

C program to interchange diagonals of a matrix





C++ Template to Gets Maximum Number - Templates are a feature of the C++ language that allows functions and classes to operate with generic types. A "simple C++ template" behaves same as normal function except the

C Program Print Top Down Right Triangle - Printing to top down right triangle. A triangle with one of its angle 90 degrees is called right triangle. We shall now see how to 'print stars' *, in right triangle shape, but upside down on

Remove Last Occurrence of Word in String - Remove the 'last occurrence' of any word in a string using Loop in C Language. Input string from user, store it in some variable say string. Input word to be 'searched' from user, store it

Find the Maximum Size Clique in a Graph - This is a C++ Program to find the 'cliques' of size k in a a graph. An "Undirected Graph" is formed by a finite set of vertices and a set of unordered pairs of vertices, which are called

Virtual Calendar shows the current month - Draws box with "month and year" in header. Displays current time in footer of box. Prints dates within box. Scans user key and retuen its scan code. Detemines first day of month.

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

Every Possible Combination of two Strings - Program display every 'possible combination' of 2 "Words or Strings" from the input strings without repeated combinations. Read strings into 2d character arrays. Concatenate string1

C programming Game of Goat and Tiger - This is a game of goat and tiger. First read these instructions. The no should be 4 digit no without 0 in the first place. The digit shouldn't be reapeated. Do you agree the