How do I pass and use a Struct/Union/Struct into a function, and modify the elements? For example, say I have the following:
struct thestuff {
union {
struct {
char s1[16];
char s2[64];
}s;
char buffer[80];
}u;
}stuff;
How do I pass 'stuff' into a function to be modified?
Thanks so much in advance!!!!
struct thestuff {
union {
struct {
char s1[16];
char s2[64];
}s;
char buffer[80];
}u;
}stuff;
How do I pass 'stuff' into a function to be modified?
Thanks so much in advance!!!!