Thanks for quick reply. I understood this. But my question was something different. Rather than puting value in the array values[], I want to put variable names. I am having problem because variable names are pre-defined. I want to doe something like this:
int values[] = {x, y, z};
where x,y and z are just variable name.
Let look it another way. I have a lots of variables already defined such are
int a, b, c, d, ........., x, y, z;
Now, I want to pass these variables by reference, like this: