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

The program takes the range and finds all the prime numbers between the range and also prints

C Programs Depth First Binary Tree Search - C program, using recursion, 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

Calculates Area & Circumference of Circle - To calculate area and circumference we must know the radius of circle. C program code will prompt user to enter the radius and based on the input it would calculate the values. Make

C++ Program to Find LCM of two Integers - Examples on different ways to calculate LCM ("Lowest Common Multiple") of two integers using loops and decision making statements. "LCM of two integers" a and b is the smallest

C++ Language & One Time Pad Algorithm - C++ program encodes any message using the technique of 'One time' pad cipher technique. Input is not Case Sensitive and works only for all characters. 'White Spaces' are not ignored

C++ Checks the Alphabets is Vowel or Not - To check whether the input alphabet is vowel or not a vowel in C++, Enter a Character, then check the character for Vowel. The character is vowel, only if it's equal to a, A, e, E, i, I, o, O

C Find the Length of a String by Recursion - Program to find the length of the string using recursion. C Program uses recursive function & counts the number of nodes in a linked list. A Linked List is ordered set of data elements,

Create an Array of Chars in C++ Language - String is a "sequence of characters". char data type is used to represent one single character in C++. So if you want to use a String in your program then you can use an "array of chars".

C Program Converts Strings to LowerCase - Program code to 'convert' uppercase string to lowercase using for loop. First check whether the given character is 'uppercase' alphabet or not. If it is Uppercase Alphabet just add 32 to