Just saw this line in some C code and was unfamiliar with the syntax. Can someone explain where I might learn a bit more about the syntax of using the {} in this way?
Thanks, --RayCode:static char a_null_str[1] = { 0x00 };
Just saw this line in some C code and was unfamiliar with the syntax. Can someone explain where I might learn a bit more about the syntax of using the {} in this way?
Thanks, --RayCode:static char a_null_str[1] = { 0x00 };
Sure you can get that from any C tutorial or book.
It's called an initializer value...