05-01-2017, 04:58 PM
In the following code I would like to know which of the casts are compliant for rule 11.8?
[code]
const int a[10];
int *pi;
int **ppi;
const int **cppi;
const float **cppf;
void f() {
pi = (int*) &a; /* int *
[code]
const int a[10];
int *pi;
int **ppi;
const int **cppi;
const float **cppf;
void f() {
pi = (int*) &a; /* int *
<t></t>