Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję+ 1
Why constant is unchangeable?
const int x = 10; scanf ("%d",&x);//(new value)
2 odpowiedzi
+ 2
Constants the most case you use when you define magic numbers this number is fixed like upload max size or the absolute path of the application this things will not be modified in the future
+ 1
Because const is constant.