Skip to content

Conversation

@JJM-Student
Copy link
Contributor

Converted allocate memory from a void to int so that it can return a failure state value. Also eliminated exit commands within allocate function.

Updated end of main leveraging changes to allocate function so that steps after allocate are skipped if allocation fails.

Converted allocate memory from a void to int so that it can return a failure state value. Also eliminated exit commands within allocate function.

Updated end of main leveraging changes to allocate function so that steps after allocate are skipped if allocation fails.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant