Const Keyword
We use const
to make something unchangable (constant).
for example:
#include <stdio.h>
int main() {
const char unchange[] = "apple";
puts(unchange);
return 0;
}
In here if we try to modify unchange
, the compiler will throw error.