#include <iostream> using namespace std; int main() { int a = 0; decltype(a) c = a; decltype((a)) d = a; cout << typeid(a).name() << "-" << typeid(c).name() << "-" << typeid(d).name() << endl; return 0; }