August 19, 2008 at 12:04 pm #42077
const int a =10; (okay)
a=5; (compiler error on the reassign because variable is const)
so lets say-
int a = 10;
a = 5;(wont this be a compiler error s well??)
printf("value of a = %d",a);
wat exactly is the const use for??