15-06-2006, 12:38 PM
void UseObject (lpVoid*);
void main (void)
{
OBJECT01_T* lpObject01;
OBJECT02_T* lpObject02;
void* lpVoid;
lpVoid = lpObject01;
UseObject (lpVoid);
/* lpVoid is a void* type here or a OBJECT01_T* type? */
lpVoid = lpObject02;
UseObject (lpVoid);
}
void main (void)
{
OBJECT01_T* lpObject01;
OBJECT02_T* lpObject02;
void* lpVoid;
lpVoid = lpObject01;
UseObject (lpVoid);
/* lpVoid is a void* type here or a OBJECT01_T* type? */
lpVoid = lpObject02;
UseObject (lpVoid);
}
<t>Embedded System</t>