@SRAZKVT you can use types with sizeof as well, but sometimes it's shorter to use the variable instead of the type (e.g. if it's "struct my_awesome_struct_with_a_very_long_name")

karolherbst@chaos.social
@karolherbst@chaos.social
Posts
-
@SRAZKVT you can use types with sizeof as well, but sometimes it's shorter to use the variable instead of the type (e.g. -
today in C nonsense: a declaration is available in it's initialization expression:@a1ba C would be 100 times better if such warnings would be errors instead by default
-
today in C nonsense: a declaration is available in it's initialization expression:today in C nonsense: a declaration is available in it's initialization expression:
int some_func(void) {
int a = a;
return a;
}