exercises 2.38
1 #include <iostream> 2 using namespace std; 3 /* run this program using the console pauser or add your own getch, system("pause") or input loop */ 4 5 int main(int argc, char** argv) { 6 int a=42; 7 auto b=a; //int 8 decltype(a) c=a;//int 9 10 int &p=a; 11 auto d=p;//int 12 decltype(p) e=a;//int& 13 return 0; 14 }


浙公网安备 33010602011771号