No, you can't. The compiler doesn't know what the pointer is pointing to. There are tricks, like ending ...
stackoverflow.com