Skip to main content
7 events
when toggle format what by license comment
Jun 10, 2020 at 13:24 history edited CommunityBot
Commonmark migration
Apr 9, 2016 at 13:33 vote accept luckystrrrike
Apr 8, 2016 at 15:54 comment added chux The free(st); st = NULL; is a developing style that encourages early (fault) detection of dereferencing st later in code. True that in deleteStack(), there is no later code. Yet setting a pointer to NULL after free() is a defensive coding practice - which should be encouraged. I would even re-design void deleteStack(Stack* st) --> void *deleteStack(Stack* st) or void deleteStack(Stack** st) to allow the calling code to benefit from this NULL assignment.
Apr 5, 2016 at 16:46 history edited PellMel CC BY-SA 3.0
suggested strtod()
Apr 5, 2016 at 16:32 history edited PellMel CC BY-SA 3.0
removed a wrong criticism
Apr 4, 2016 at 22:16 review First posts
Apr 5, 2016 at 0:04
Apr 4, 2016 at 22:14 history answered PellMel CC BY-SA 3.0