Search Results

Search: Posts Made By: mind@work
Forum: Programming 08-30-2011
1,858
Posted By Corona688
It's getting the order of operations mixed up,...
It's getting the order of operations mixed up, adding an offset to a pointer then dereferencing it instead of dereferencing it then adding an offset. (*var)[j] instead of *var[j]
Forum: Programming 07-06-2010
3,449
Posted By Corona688
Yes, local variables like that and pointers to...
Yes, local variables like that and pointers to them don't remain valid after the function call they exist inside returns. That it works at all is simply a coincidence. Make a few more function...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 07:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy