4,053 views
1 votes
1 votes
consider the two declarations

void *voidPtr;

char *charPtr;

which of the following assignments are syntactically correct?

(a)charPtr= voidPtr

(b)*charPtr=voidPtr

(c)*voidPtr=*charPtr

(d)voidPtr=charPtr

 

please explain!

1 Answer

Related questions

1 votes
1 votes
1 answer
3