#include <iostream>
using namespace std;

class A{};
class B{};


int main() {
	// your code goes here
	A *a;
	B *b = (B*)a;
	
	B *b2  = reinterpret_cast<B*>(a);
	
	//err: error: invalid static_cast from type ‘A*’ to type ‘B*’
	//B *b3 = static_cast<B*>(a);
	
	return 0;
}