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 > For Loops and While Loops Code Examples

convert Octal to Decimal number system





C Programming Codings Checks Leap Year - C Language program check leap year using if else. Wikipedia states Leap Year as a special year containing one extra day i.e. total 366 days in a year. A year is said to be leap year,...

C Finds Maximum Between Two Numbers - Finding maximum in general is comparison of two numbers. In C language we compare two quantities using relational operator. We using either > or < operator to compare 2 numbers

Display the Nodes of a Tree BFS Traversal - C Program Display the Nodes of a Tree using BFS Traversal. Breadth-first search (BFS) is a strategy for searching in a graph when search is limited to essentially two operations: (a)...

Find Intersection & Union of 2 Linked Lists - This C Program code finds the intersection & union of 2 Linked lists. Intersection is a set of elements that are common in both lists while union is a set of all Unique Elements in both...

The C++ Language While Loop Statement - The statements within the while loop would keep on getting executed till the "condition" being tested remains "true". When condition becomes false, the control passes to the first

Find the Trace & Normal of a given Matrix - C Program find the trace & normal of a given matrix. Trace of the matrix is the sum of the elements of the main diagonal i.e diagonal from the upper left to the lower right of a...

C++ Find Maximum & Minimum Numbers - Program should display all 'random elements' of array and minimum and maximum number in array on screen. Array size is fixed to 100 to change the size just change the 'Value of size'

C++ Find Chromatic Index of Cyclic Graph - Algorithm finds the "Chromatic Index" of the given cyclic graph. It takes the input of vertex pairs for the given number of edges. Assigns a 'color to edges' without assigning the same