The problem is as follows:
A function receives an int as a parameter, and returns it written to the contrary and another to test if the input number and the inverted number is palindrome.
I was able to solve the problem of identifying if the input number is palindrome, but I need to split the code into functions according to what was requested.
So far my code looks like this:
int i, j;
scanf("%d", &i);
int n = i;
int l = 0;
while(n != 0){
j = n % 10;
l = (l * 10) + j;
n = n / 10;
}
if(i == l)
printf("sim");
else
printf("nao");