call by pointer to pointer
這時候不能用call by pointer/reference
int rop_chain(unsigned char **chain)
unsigned char a = 12;
*chain = &a;
int main(int argc, char** argv)
unsigned char *Pchain;
The “reverse and add” method is simple: choose a number, reverse its digits and add it to the original.
If the sum is not a palindrome (which means, it is not the same number from left to right and right to left),
repeat this procedure.
195 Initial number
9339 Resulting palindrome
Your job is, given a positive number N, determine if it is a multiple of eleven.
The input is a file such that each line contains a positive number.
A line containing the number 0 is the end of the input.
The given numbers can contain up to 1000 digits.
The output of the program shall indicate, for each input number, if it is a multiple of eleven or not.