Posts

C Program to print string using recursion

Simple C program to print string using recursion .

C Program to reverse string using recursion

Simple C program to reverse string using recursion: If string is "C Basic Examples" then program will print "selpmaxE cisaB C".

C Program to print array using recursion

Simple C program to print array using recursion.

C Program to find largest element of array using recursion

Simple C program to find largest element of array using recursion: If array is {3,7,4,9,2,20,2,1} then it will print 20.

C Program to find smallest element in array using recursion

Simple C program to find smallest element in array using recursion: If array is {20,45,13,54,17} then program will print 13. In this array smallest element is 13.

C Program to check whether array is sorted or not using recursion

Simple C program to check whether array is sorted or not using recursion. This is a simple C program using recursion. If array is sorted then it will print that array is sorted otherwise it will print array is not sorted.

C Program to reverse array using recursion

Simple C program to reverse array using recursion: If array is {2,4,7,2,8} then program will print {8,2,7,4,2}.