I\'m reading about the initialized values by default of an array/struct and have this question:
is memset(&mystruct, 0, sizeof mystruct) same as <
This is a completely pedantic answer, but given that the internal representation of a null pointer is not guaranted to be 0 the behavior of memset versus brace-initialization would differ (memset would do the wrong thing). That said, I've never heard of an implementation that took on this liberty to have a non all 0 bit pattern for null.