Kevin Reid (kpreid) wrote,

A dreadful thing

some type *foo;
size_t count = ...;

...

foo = malloc(count * sizeof * foo);
Tags: c, programming, thoughts
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded  

  • 14 comments