Marko Rauhamaa wrote:
int a[3];
>
aproduces a pointer to the array's first element.
Yes, and that makes using true pointer-to-array types in C really awkward. You're fighting against the way the language was designed to be used. If you use a language in an un-idiomatic way, you can't really complain when you have difficulties as a result. -- Greg -- https://mail.python.org/mailman/listinfo/python-list