Problem Statement - Array to array data
Write output of the following code and explain its working.
int a2a(char *a1,char *a2,int rev=1)
A function definition with character array reference of two strings and the third variable rev to mark a condition with default value as 1.
int i=0; char ch; //The declarations and initialisations
int n=strlen(a1); //Finding length of first array