â„–3734722[Quote]
>>3734719 (OP)you're supposed to use sizeof with types
â„–3734724[Quote]
>your function returns a pointer
Rookie mistake. Rookie mistake.
â„–3734725[Quote]
>nudevs can't even implement a tlv struct…
â„–3734726[Quote]
>>3734725>tel aviv structshut up bibi
â„–3734728[Quote]
>>3734724this is normal though
â„–3734732[Quote]
>>3734728i mean like this
int* foo(){
int val;
return &val;
}
which will return a stack address that is not known anymore.
â„–3734740[Quote]
>>3734732you dumb fucking nigger
â„–3734748[Quote]
>>3734732geg vatnigs are filtered by C and their software is full of UB
â„–3734753[Quote]
>>3734748i just showed it as an example doey
â„–3734755[Quote]
>>3734753if C is too hard for you to understand you have no idea how a computer works let alone coding in assembly
â„–3734758[Quote]
>>3734755but I do understand why returning the pointer to a local variable doesn't work doe.
â„–3734765[Quote]
also the asterisk should stick to the type.