$ ./guess_the_languageProgramming Languages
Programming Languages · medium · #367

Which programming language is this?

char *buf = malloc(64 * sizeof(char));

Answer: C

malloc assigned without a cast compiles in C, not C++.
Play Programming Languages ▸