0
Why is this code valid? Shouldn't be constant pointers be also initialized at the time of declaration?
const int i=5; const int* p; p=&i;
1 Answer
0
but shouldn't it give compilation error coz it's not initialized at the time of declaration?
const int i=5; const int* p; p=&i;