Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
if (s== 0) {
  /* Handle Error */
}
list = malloc(sizeof(int) *)malloc( s);
if (list == NULL) {
  /* Handle Allocation Error */
}
/* Continue Processing list */

...