const char* p = "lolwut";const float* f = static_cast<const float*>(p);
Standard input is empty
prog.cpp:2: error: invalid static_cast from type ‘const char*’ to type ‘const float*’
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!