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

check palindrome using recursion





Program Find GCD (HCF) of Two Numbers - Recursive function in C language to find GCD (HCF) of two numbers. Find GCD ( Greatest Common Divisor ) or HCF ( Highest Common Factor ) of two numbers using recursion in C

C++ Program Finds the Area & Perimeter - Enter width of rectangle and enter height of rectangle. Print the "area of rectangle". Print the perimeter of rectangle. Formula: Area of rectangle: height*width. Formula: Perimeter

Singly Linked list Program Using functions - In C++, under the simplest form, each node is composed of data and a reference ('a link') to the next node in the sequence. This structure allows for efficient insertion or removal of the

C Programming coding Calendar example - This is because a leap year does not strictly fall on every fourth year. If a year is divisible by 4, then it is a leap year, but if that year is divisible by 100, then it is not a leap year.

C++ Strings Matching using String Library - C++ program performs string matching using "String library" of C++. A text and a pattern is given as input. The Pattern is 'searched' for in text and all instances of the pattern are given

C Language Find Frequency of Characters - In C Coding, the string entered by the user is stored in variable str. Then, the user is asked to enter the character whose frequency is to be found. This is stored in variable ch. Now,

C Programming Recursive Directory Walk - Declare the object is a file, declare directory, declare directory that could not be read, symbolic link, The object is NOT a symbolic link and is one for, which stat() could not be

Arithmetic, Assignment, Logical, Bitwise - Arithmetic operators: +, -, *, /, %, addition, subtraction, multiplication, division, modulo. Assignments operators in C++ are: =, +=, -=, *=, /=, %=. Auto increment and decrement