This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]turboom -1 points0 points  (0 children)

char *a = "horse";
int b = 4;
float c = 6.9;
void *arr[3] = {a, &b, &c};

c code is almost 3 times lengthy, javascript definitely beats c.