Thx for your answer,

But I believe the problem is not the contruction of the parameters of the function, but the construction of the adress of an array and give it at a function call.
Maybe, I don't say good my problem in my previous mail.

Example:
If I have an array A in a source code, I want to create the address of this array and to give it at a function which I have insert:

main{
int A[10];
int b;
...
...

foo( & A[2]);  //This is the statement that I want to insert

b=A[2];
...
...
}

I make clear that I  success in doing:
main{
int A;
int b;
...
...
b=A;

foo( & A);
...
}

How  can I to build this statement ?

Sorry for my bad english ( if it is not comprehensible, tell it me ! ),
Thanks in advance,

Antoine

Reply via email to