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

Print Middle Most Node of a Linked List

Check Even or Odd number by switch case - Input number from user and check whether the number is even or odd using switch case. A number is said even number if it is exactly divisible by 2. In C we use Modulo operator...

Display the product of two float numbers - In this c program, user is asked to enter two float numbers and the program stores the entered values into the variable j1 and j2. C program then multiplies entered numbers...

C Program Depth First Binary Tree Search - C program, using iteration, performs a Depth First Search traversal. Depth-first search DFS is an algorithm for 'Traversing or Searching a Tree', tree structure or graph. The concept of

C++ Decrement -- Operator Overloadings - Increment ++ and decrements -- operator are overloaded in best possible way, increase the value of a data member by 1 if "++" operator operates on an object and 'decrease' value of

C++ Program Find the Mode in a Data Set - In C++ language, The mode is the maximum of the "count of occurrence" of the different data element. This algorithm is beneficial for large dataset with high repetition frequency

Finds Factorial of a Number use Recursion - Program Find the Factorial of a number using 'recursion'. C Program prints the factorial of a number using recursion. 'Factorial' is product of all the number from 1 to the user specified

Using Continue Statement Inside for Loop - As you can see that the output is missing the value 3, however the for loop 'iterate' though the num value 0 to 6. This is because we have set a condition inside loop in such a way, that

C++ Programming & Shell Sort Algorithm - "Shellsort", also known as Shell sort or Shell's method, is an in-place comparison sort. It can be seen as either a 'Generalization of Sorting' by exchange or 'sorting by insertion'. Method