The type of pointer is consistent with the object type

xiaoxiao2021-03-05  33

C is inconsistent with both, and C is not allowed .//........ VOID * F; INT i = 1, * p; f = & i; p = (int *) f; f = p; cout < <"p is" << p << * p; cout << "f is" << f << * f; // void's value cannot be displayed, so compile error

转载请注明原文地址:https://www.9cbs.com/read-32239.html

New Post(0)