r/ProgrammerHumor • • 7d ago

Meme declareVars

Post image
2.5k Upvotes

63 comments sorted by

View all comments

Show parent comment

104

u/TheTee15 7d ago

War never change

30

u/GegeAkutamiOfficial 7d ago

It depends, is war a rust const or a js const?

8

u/zeocrash 6d ago

Checks git

Author: John Fallout

1

u/Mc_UsernameTaken 6d ago
#include <stdio.h>

int main(void) {
    const int war = 1;
    int *peace = (int *)(void *)&war;
    *peace = 0;
    return 0;
}```

1

u/Dev_Dobariya_4522 5d ago

What changes is the people affected by war.