You can do it using macros and using the ## operator. This operator will join to tokens into a single token.
So if you had an integer named x20, you could do something like this at the top of your code:
Code:
#define printx(n) printf (”%i\n”, x ## n)
To call it in your code you'd write this:
Which would result in this:
Code:
printf (”%i\n”, x20);
Hope that helps.