Dear all,
According to standards is this valid:
char TmpPtrWriteBuff er[1000];
void* PtrWriteBuffer =(void*) TmpPtrWriteBuff er;
I had a debate with my colleagues that anything cant be typecasted to
void* though the reverse is true.But they said this is valid.
I just can't agree with them with out a valid explaination.Ca n any C
standard experts clarify me this?
Regards,
s.subbarayan
According to standards is this valid:
char TmpPtrWriteBuff er[1000];
void* PtrWriteBuffer =(void*) TmpPtrWriteBuff er;
I had a debate with my colleagues that anything cant be typecasted to
void* though the reverse is true.But they said this is valid.
I just can't agree with them with out a valid explaination.Ca n any C
standard experts clarify me this?
Regards,
s.subbarayan
Comment