c++ typeid output code example
Example: c++ get type name of object
#include <iostream>
int main() {
int myNum;
std::cout << typeid(myNum).name();
return 0;
}
#include <iostream>
int main() {
int myNum;
std::cout << typeid(myNum).name();
return 0;
}