Hello everyone,
I am learning code from others, but I do not know why the following code section can compile?
Why assignment p = new (void (*[3])()) is ok? Are the left side and right side of assignment having compatible type?
Code:void (**p)();
int main()
{
p = new (void (*[3])());
return 0;
}
thanks in advance,
George