C Programming Code Examples
C > Recursion Code Examples
Program to Input Few Numbers & Perform Merge Sort on them using Recursion
C Program Arrange Numbers in Ascending -
C Program to Arrange numbers in Ascending order. Code 'prompts user' for the n numbers, once the user is done entering those numbers and this c program sorts and displays them in
Check Prime or Armstrong Number Using -
In this program, two User-Defined functions checkPrimeNum() & checkArmstrongNum() are created. The checkPrimeNum() returns 1 if the number entered by the user is a Prime
Swap Array Element and Reverse an Array -
To reverse an array in C++ programming, you have to ask to the user to enter the array size and array elements. Now start swapping the array elements. Make a variable say temp of
C program to Calculate (1*1)+(2*2)+(3*3) -
In The C, you can print any number series and I will show you how to 'print number series' in C Language with explanation. In case of print number series you need to focus on common
Implementing Hash Table Chaining Binary -
Adding element to a node and check if node contains element. 'Adding string' in the table. Check if table contains string. Enter String to be inserted. Display table chained with binary
C++ Code Deletes Elements from an Array -
To "delete element" from an array in C++, you have to first ask to the user to enter the array size then ask to enter the array element, ask to enter the element which is "to be deleted".
C Programming language WAV file player -
You need a HUGE memory model to run this. Checks to see if a Sound Blaster exists at a given address, returns true if Sound Blaster found, false if not. Send a byte to the DSP
C code swap First & Last digit of a number -
C Program to input a Number from user and swap first and last digit of the given number. First input a number from user and find last digit. Total number of digit - 1. Find first digit.