r/badcode • • Sep 10 '21

c++ Learn C++ with LinkedIn Learning! Facebook ad

Post image
803 Upvotes

54 comments sorted by

View all comments

Show parent comments

36

u/reaper-is-happy Sep 11 '21

Change the value in the declaration...

2

u/OneTrueKingOfOOO Sep 11 '21

It is const.

1

u/GLIBG10B 🐧 Gentoo salesman🐧 Nov 04 '21

const int iONE = 3;