#include<bits/stdc++.h> using namespace std; int main() { int a[101][101]; a[2][0]=10; cout<<a+2<<endl; cout<<*(a+2)<<endl; cout<<*(*(a+2)); return 0; }
Why are the values of a+2 and *(a+2) same? Thanks in advance!
Aucun commentaire:
Enregistrer un commentaire