关于C语言一维数组的地址问题
今天看到一道面试题
int arr[5] = { 1,2,3,4,5 };
则 cout << * ( *(&arr + 1) - 1) << endl;的结果是什么
#include<iostream>
#include<fstream>
#include<string>
using namespace std;
int main()
{
int arr[5] = { 1,2,3,4,5 }; cout << *(*
原创
2022-05-07 12:41:45 ·
434 阅读 ·
0 评论