Re: variable declaration
Rahul wrote:
> I had the following declaration and i expected the compiler to give
> an error, but it didn't, how does it interpret the declaration?
>
> const * int ptr;
You should probably ask the compiler or its developers. The '*'
symbol cannot be followed by 'int'. Could be a bug in the compiler.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
|