I'm new to C/C++ Programming and I'm still learning some differences between pointer datatypes. But I struggled with these one:
int *const x1;
const int *x2;
char *x3[3];
char (*x4)[3];
double* x5, x6;
I think the first one should be a integer variable that points to a constant memory address
And x2
should be a integer Pointer which is const, right?
I don't know if thats right. So can anyone explain me the differences between them?