. Write a program to take a number from user and find the reverse using function Rev( ). using main function
Answers
Answered by
0
Explanation:
In this program, we are calling a user-defined function “reverse_function”, the function is calling itself recursively.
#include<stdio.h>
int main(){
int num,reverse_number;
//User would input the number.
printf("\nEnter any number:");
scanf("%d",&num);
//Calling user defined function to perform reverse.
Similar questions