How to use an int to pass variable0 variable1 etc

Yes, the last parameter is an ascii character string , implicitly declared such as "a", "Y", "0" ,"Yes" etc.....however.... '0'+buts gave something like......ambiguous overloaded function ..... yada yada.... hence the explicit array definition.....??? The only way I could resolve it was declare an entire array.... Any help greatly appreciated...

I'm nearly certain that "yada yada" does not appear in any of the messages that the GNU compiler can generate.

Posting SPECIFIC code that generates an error message, and the EXACT error message, if you don't understand it, is going to be necessary. It's the only way we can explain why what you are doing is wrong, in more detail that the compiler message, and suggest how to do what you are trying to do, in a way that the compiler will be a happy camper AND the code will work properly. (Note that the compiler accepting the code and it working properly are not the same thing.)