BartC wrote:
(They don't need to be elaborate to start being confusing. Take 'int *a[]' and 'int (*a)[]'; one of these is an array of pointers, the other a pointer to an array. Quite different! But which is which?

Where have you seen 'int (*a)[]' used? I don't think I've
ever seen any real-life C code that used a pointer to an
array, as opposed to a pointer to the first element of the
array. Usually it would just be declared either 'int a[]'
or 'int *a'.

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to