Given the code below:
double** vr(new double*[nx]);
vr[i]=new double[ny];
for(int i=0;i<nx;++i) { //Loop 200times
for(int j=0;j<ny;++j) { //Loop 200times
vr[i][j]=double(i*i*i*j*c1);
}
}
For vr[i][j] = double(i * i * i * j * c1);
why is it not required to address the value using *
for example *(vr[i][j])
.
It is just an address isnt it?