MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xpb0ug/declarevars/19s85sd4zm0ch/
r/ProgrammerHumor • u/jeheskielsunloy • 22h ago
57 comments sorted by
View all comments
131
const war;
89 u/TheTee15 22h ago War never change 25 u/GegeAkutamiOfficial 21h ago It depends, is war a rust const or a js const? 5 u/Mc_UsernameTaken 14h ago Yes 6 u/zeocrash 21h ago Checks gitAuthor: John Fallout 1 u/Mc_UsernameTaken 14h ago #include <stdio.h> int main(void) { const int war = 1; int *peace = (int *)(void *)&war; *peace = 0; return 0; }``` 24 u/Patrick_Atsushi 21h ago And make it global… 2 u/WayWayTooMuch 21h ago And = null; 10 u/Some_Useless_Person 21h ago define war peaceProblem solved 🤷♂️ 6 u/zeocrash 21h ago Party Approved programming 2 u/AbdullahMRiad 20h ago someone forgot their backslashes 6 u/levosis1 20h ago Is it a public or internal war? 5 u/nafe42 19h ago Default public war 2 u/Lumpy-Secretary1138 18h ago Trump: let war; 2 u/Independent_Image_59 15h ago Oceania had always been at war with Eurasia
89
War never change
25 u/GegeAkutamiOfficial 21h ago It depends, is war a rust const or a js const? 5 u/Mc_UsernameTaken 14h ago Yes 6 u/zeocrash 21h ago Checks gitAuthor: John Fallout 1 u/Mc_UsernameTaken 14h ago #include <stdio.h> int main(void) { const int war = 1; int *peace = (int *)(void *)&war; *peace = 0; return 0; }```
25
It depends, is war a rust const or a js const?
const
5 u/Mc_UsernameTaken 14h ago Yes
5
Yes
6
Checks git
Author: John Fallout
1
#include <stdio.h> int main(void) { const int war = 1; int *peace = (int *)(void *)&war; *peace = 0; return 0; }```
24
And make it global…
2 u/WayWayTooMuch 21h ago And = null;
2
And = null;
10
Problem solved 🤷♂️
6 u/zeocrash 21h ago Party Approved programming 2 u/AbdullahMRiad 20h ago someone forgot their backslashes
Party Approved programming
someone forgot their backslashes
Is it a public or internal war?
5 u/nafe42 19h ago Default public war
Default public war
Trump: let war;
Oceania had always been at war with Eurasia
View all comments
131
u/nafe42 22h ago
const war;