This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| using namespace std; | |
| int main() | |
| { | |
| int a = 20; //声明一个int变量 | |
| int &b = a; //声明一个int引用 | |
| int *p = &a;//声明一个int指针 |
NewerOlder