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

program to find perfect numbers between 1 to n





Program Convert Decimal to Hexadecimal - In C++ programming, you have to ask to the user to enter the desired decimal number to convert it into hexadecimal number to print the equivalent value in hexadecimal format

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)...

Finding The Transpose of Martix in Sparse - C Programming code finding the transpose of a martix in sparse form. Printing for testing sparse input. Calling function for evaluation of transpose. Printing the transposed matrix.

C Codes Displays Largest Element of Array - This C Program takes n number of elements from user and stores it in array arr[]. To find the largest element, the first two elements of array are checked and largest of these two...

Find Nth Fibonacci Number Use Recursion - C Program to find the nth 'fibonacci number' using recursion. Program prints the fibonacci of a number. In fibonacci series, each number is the sum of the 2 preceding numbers. 0, 1, 1,

Print Combination of 2 Words of 2 Strings - Print combination of two words of two given strings without any repetition. Incrementing the count if the characters of the main string match with the characters of the given word.

C Merges Lines Alternatively From 2 Files - Program that merges lines alternatively from 2 files & print result. Getting the names of file to be concatenated. Opening the files in read only mode. Opening a new file in write mode.

Program Prints Natural Numbers in Range - Using above logic you can easily find a way to print natural numbers in range. If not here is a hint. Input start limit from user and store it in some variable say start. Input end limit from