Skip to content

Update hw3.c#4

Open
JJM-Student wants to merge 1 commit intomelrobin:masterfrom
JJM-Student:patch-3
Open

Update hw3.c#4
JJM-Student wants to merge 1 commit intomelrobin:masterfrom
JJM-Student:patch-3

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