-
Recursive Function
1. Find output for following recursive function :int main(){int i=32242,j=find(i);}int find(int j){if(j){j = j%10 + find(j/10);printf(" %d ",j);}return j;} 2. What is the problem with following code : char* AddnewlinetoString(char *s){char buffer[1024];strcpy(buffer,s);buffer[strlen(s)-1] = 'n';return buffer;}