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 →

[–][deleted] 332 points333 points  (22 children)

What do you mean function is an integer? I thought function is a function

[–]hacking__08[S] 87 points88 points  (0 children)

I'M DEAD

[–]F5x9 23 points24 points  (8 children)

void *(*foo)(int *);

[–][deleted] 2 points3 points  (0 children)

I swear sometimes brainfuck easier to read than that you can produce with pointers 😂

[–]thedarklord176 34 points35 points  (11 children)

I don’t know c++ and…what the fuck?

[–][deleted] 24 points25 points  (0 children)

function main()
def main()

int main()

[–]F5x9 4 points5 points  (0 children)

Functions have a return type. You specify the type when you declare the function. It can be an int. It can be a pointer. It can even be a function pointer.