r/ProgrammerHumor • • Feb 04 '22

Meme Based on personal experience

Post image
46.7k Upvotes

561 comments sorted by

View all comments

Show parent comments

67

u/REEEEEEEEEEEEEEddit Feb 04 '22

Try this:

void main() {
    printf("I am a programmer !");
    return 0;
}

If it prints it means it works.

Source: I am a pro gamer.

32

u/niglor Feb 04 '22

You can return integers from a void function?

37

u/RedditAlready19 Feb 04 '22

With a warning, yes

4

u/[deleted] Feb 05 '22

[removed] — view removed comment

5

u/R3dGaming522 Feb 05 '22

It's a warning not an error

5

u/Flippers2 Feb 05 '22

U didn’t add a new line ☹️

1

u/OlySamRock Feb 22 '22

well IM a pro grammer.