Hello,

I have the following lines in C:

struct foo *bar[10];

If I want to clear out that structure, should I use

memset(bar, 0, sizeof(bar));
or
memset(bar, 0, sizeof(*bar));

Thank you.

Reply via email to