#include <cstdio>struct Dummy{};int main() { Dummy d, *pd; void*p=&d; pd=static_cast<Dummy*>(p); printf("%d", pd==&d);}
Standard input is empty
1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!