Versions Compared

Key

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

...

In the following non-compliant code example, size is a user supplied parameter used determine the size of {{table }}.

Code Block
bgColor#ffcccc
int create_table(size_t size) {
  char **table = malloc(size * sizeof(char *));
  if(table == NULL) {
    /* Handle error condition */
  }
  /* ... */
  return 0;
}

...