#include<iostream> using namespace std; int main() { int i = 42, *p = &i, &r = i; decltype(r+1) b = 45; decltype(*p) c = i; cout << r << endl; cout << b << " " << c << endl; system("pause"); return 0; }
2024-03-18 13:35:16
#include<iostream> using namespace std; int main() { int i = 42, *p = &i, &r = i; decltype(r+1) b = 45; decltype(*p) c = i; cout << r << endl; cout << b << " " << c << endl; system("pause"); return 0; }