M
M Kumar
Suppose I have a struct:
struct ncb
{
int a, b, c, d;
long e, f, g, h;
unsigned long i, j, k, l;
unsigned char buf[20];
};
can I use
struct ncb n1 = { 0 };
to set it to zero? Is this valid/legal C?
TIA,
K
struct ncb
{
int a, b, c, d;
long e, f, g, h;
unsigned long i, j, k, l;
unsigned char buf[20];
};
can I use
struct ncb n1 = { 0 };
to set it to zero? Is this valid/legal C?
TIA,
K