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 > Arrays and Matrices Code Examples

C Program to Delete duplicate elements from an array





Convert Binary Code of a Number into its - C Programming Language code to convert binary code of a number into its equivalent gray's code without using recursion. Gray is also represented using 0s and 1s. Speciality

C++ Check a Character is Alphabet or Not - To check whether the entered character is an alphabet or not alphabet in the 'C++', enter a character and start checking for alphabet. To check for alphabet, use 'ASCII' of character, if

Code Sum of two One-Dimensional Arrays - Computes the sum of two one-dimensional arrays using malloc. The program allocates 2 one-dimentional arrays using malloc() call and then does the addition and stores the...

C++ Generating All Subsets of a Given Set - Program print all the possible combination of each length from the given array in gray code order. The 'time complexity' of this algorithm is 'O(n*(2^n))'. This algorithm takes the input

C Coding Checks the Character is Alphabet - How to check whether a character is alphabet or not in C programming. Every printable and nonprintable symbol is treated as a character and has an ASCII value. ASCII value is unique

Check Whether a Directed Graph Contains - If graph has no "Odd Degree Vertex", there is at least one "Eulerian Circuit". If graph as two vertices with odd degree, there is no Eulerian Circuit but at least one Eulerian Path. If graph

C Code Traverse the Tree Non-Recursively - C language code, using iteration, searches for a given node in a tree. The tree we have used is the binary search tree. A binary search tree follows a concept of nodes whose numbers...

Check the Alphabet is Vowel or Consonant - C program takes the Character value as input and checks whether that character is a vowel or consonant using if-else statement. Since a user allowed to enter an alphabet Lowercase