指標是一個包含其他變數記憶體地址的變數。指標變數可以像其他變數一樣宣告。但是,資料型別後面要加上“*”字元。
#include <iostream>; using namespace std; int main{ return 0; }