{
double adArray[2];
void *pvPtr1 = NULL;
void *pvPtr2 = NULL;
pvPtr1 = (void*) adArray;
pvPtr2 = (void*) &adArray;
}
What is the true?
1) pvPtr1 == pvPtr2;
2) pvPtr1 == *pvPtr2;
3) &pvPtr1 == pvPtr2;
4) All 1,2,3 are false.
Please, just answer, try it later.
I know the answer, I want to know what you think.
Leon.
double adArray[2];
void *pvPtr1 = NULL;
void *pvPtr2 = NULL;
pvPtr1 = (void*) adArray;
pvPtr2 = (void*) &adArray;
}
What is the true?
1) pvPtr1 == pvPtr2;
2) pvPtr1 == *pvPtr2;
3) &pvPtr1 == pvPtr2;
4) All 1,2,3 are false.
Please, just answer, try it later.
I know the answer, I want to know what you think.
Leon.