數組名和取數組首地址的區別

#include <iostream> using namespace std; int main() { int arr[5] = {1,2,3,4,5}; cout <<" arr = " << arr << endl; cout <<" &arr = " << &arr << endl; cout <<" arr + 1
相關文章
相關標籤/搜索