R
Rahul
Hi Everyone,
The following code compiles without any error,
int main()
{
volatile const int a = 10;
return(0);
};
But i expected a compilation error as a is being told as a constant
and at the same time indicating that its value could change outside
the program's control...
Why isn't this an error?
Thanks in advance ! ! !
The following code compiles without any error,
int main()
{
volatile const int a = 10;
return(0);
};
But i expected a compilation error as a is being told as a constant
and at the same time indicating that its value could change outside
the program's control...
Why isn't this an error?
Thanks in advance ! ! !