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 HCF (GCD) of two numbers

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 Code Find LCM Least Common Multiple - C Program to Find LCM In C language. L.C.M. or Least Common Multiple of 2 values, is the smallest positive value which the multiple of both values. For example multiples of 3 and 4

Code Convert a Decimal Number to Binary - C Converts a decimal number into binary and count the number of 1s. The c program uses module operation and multiplication with base 2 operation for conversion. It also uses

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

Program calculate & print the value of nCr - In the following C program we are calculating & displaying the value of nCr. nCr can also be represented as C(n,r). C Language function is used to find the factorial of given number and

Program Find the Number of Occurrences - 'Binary Search tree' for a given unsorted data array & maintain an additional count variable. If any 'Element is Repeated' then increase the count of that 'Node'. Proceed with the search

C Language Calculating the Typing Speed - Your time has started. Start typing. Hit Esc when done. Erase previous character instead of cursoring. Eliminate a special character that is printed for Esc. A Backspace followed

C Earth years to other Planets Conversions - Display conversions in C. Equivalent mercury years. Equivalent venus years. Equivalent mars years. Equivalent jupiter years. Saturn years. Uranus years, Neptune years, Pluto...