I designed a function for use in a larger program. The function was tested before being implemented and it worked fine. Now, it was copied into a larger program and was called and I am getting some weird behavior... Any reason for this unexpected behavior? Can memory issues do that? Say if their was a leak?
I can't share it due to the size but am trying to think, qualitatively, why it would work during testing (simple main function and a call) and not now (where many functions being used/ i and o operations/ etc.).