c++ get type name of object

#include <iostream>

int main() {
	int myNum;
  	std::cout << typeid(myNum).name();
  	return 0;
}