#Reverse an array using pointers
30 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
@clever wyvern
Your message appears to contain screenshots but no code. Please send code and error messages in text instead of screenshots if applicable!
where n is the size of the array
I would use pointer arithmetic in the loop, but I am weird.
but why is it showing its wrong in this way ??
i declared it as a pointer
Hang on, you have a double pointer as a parameter there.
Missing a +.
omggg yeahh
right
thank you
and moreover it would be call by reference right if i dont use pointers also ??
Call function.
sorry typo
Not sure what you mean by that.
here we pass address of variable as argument
oh
i saw that in one of a tutorial
thats why asked
@clever wyvern Has your question been resolved? If so, type !solved :)
That tutorial is wrong then.