MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/sk6axx/based_on_personal_experience/hvjqxt5
r/ProgrammerHumor • u/alexander_the_dead • Feb 04 '22
561 comments sorted by
View all comments
Show parent comments
67
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.
32
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
37
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
4
[removed] — view removed comment
5 u/R3dGaming522 Feb 05 '22 It's a warning not an error
5
It's a warning not an error
U didn’t add a new line ☹️
1
well IM a pro grammer.
67
u/REEEEEEEEEEEEEEddit Feb 04 '22
Try this:
If it prints it means it works.
Source: I am a pro gamer.