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

C Program to Check if a given String is Palindrome





Checks Leap Year by Conditional Operator - C Programming Language input a year and check whether year is leap year or not using conditional/ternary operator ?:. How to check leap year using conditional operator in C. If a

Find GCD of Given Numbers use Recursion - C Program Code to using Recursion, finds the GCD of the two numbers entered by the user. The user enters 2 numbers by using a space in between them or by pressing enter after each

Find the Length of Strings without strlen() - We are Counting the Number of characters in a given String to find out & display its Length on console. Upon 'execution' of this program, the user would be asked to enter string, then

Program Finds the Peak Element of Arrays - Implement the binary search to find a peak in the array. If the 'middle element' is more than its both Neighbors, 'it is the Peak'. Otherwise, split the array and check the same. A function

C++ Program Calculate GCD of 2 Integers - Examples on different ways to calculate GCD of two integers (for both Positive & Negative integers) using "Loops and Decision" making statements. The "Largest integer" which can

Read an Array and Search for an Element - C code accept an array of N elements and a key to search. If the search is successful, it displays "Successful Search". Otherwise, a message "UNSUCCESSFUL SEARCH" is...

Print the Kind of Rotation the AVL Tree is - Program to print the kind of rotation that is performed when an 'Element is inserted' or deleted from tree. In Discrete Mathematics, tree rotation is an operation on a binary tree

Simple Queue Programs in C++ Language - The "queue? size?" function would return the length of the line, and the ?empty? function would return true only if there was nothing in the line. "Simple Queue" C++ Example, array