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 > Miscellaneous Code Examples

Print character history 2

Code Generates All Possible Combinations - Algorithm print all the 'possible combination' of each length from the given array. The time complexity of this algorithm is 'O(n*(2^n))'. A function to print all 'Combination of a Length'

C++ Sorts Elements Lexicographical Order - This program sorts the 10 strings (entered by the user) in Lexicographical order (dictionary order). This program takes 10 words from the user and sort them in 'Lexicographical Order'

C++ Programming Print Table of Number - You have to ask to the user to enter a number and start "multiplying" that number from 1 to 10 and display the multiplication result at the time of multiplying on the screen which is the

Code Nonzero If ch is a White-Space Char - C Programming Language codings to returns nonzero if ch is a white-space char, including space, horizontal tab, vertical tab, formfeed, carriage return, newline character; otherwise

C Armstrong numbers between an interval - Declare function to print Armstrong numbers in given range. Lets give a meaningful name to function. Say "printArmstrong()" function prints all Armstrong numbers in given range.

Implementing Hash Table Double Hashing - Genereate first "Hash" and genereate second hash. Initialize table and "Find" element from the table. Function to insert element into the table. Function to rehash the table. Retrieve

Program to Solve a Matching Problem For - Program to solve a matching problem. Given N men and N women, where each person has ranked all members of the opposite gender in order of preference, marry the men & women

Program Compare two Strings by Pointers - C program to compare two strings using loop character by character. Logic to compare two strings. Input "2 strings" from user. Store it in some variable say str1 and str2. Compare two