I'm having trouble in understanding this.For example,
If we have an array BEANS[i][j]:
*(*(beans+i)+j)-why does *(beans+i)refer to an address of the element and not it's value?Afterall,'*'is INDIRECTION operator.Why does only the outmost '*' behave like indirection operator?
I have another...
In book it says that arrays cannot be passed by value to parameters of a function,but then in example it passes an array to an array parameter .I understand if you pass adress of an array to a pointer parameter,but how can you pass an adress to an array or do you pass something else?And to...
In book it says that arrays cannot be passed by value to parameters of a function,but then in example it passes an array to an array parameter .I understand if you pass adress of an array to a pointer parameter,but how can you pass an adress to an array or do you pass something else?And to...
In book it says that arrays cannot be passed by value to parameters of a function,but then in example it passes an array to an array parameter .I understand if you pass adress of an array to a pointer parameter,but how can you pass an adress to an array or do you pass something else?And to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.