Thank you for your replie,but what I want to know is:
why is *(beans +i) identical to beans[i].Why doesn't *(beans+i)refer to value instead of an adrress?Why isn't '*' redeferencing operator here?
Again,thank you
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...
HEllo?Isn't there anyone who could answer me this.If you don't understand the question tell me so.But pleeeeaseee answer this tiny thing for yours truly.Thank you.
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.