gandalf_der_13te@feddit.org to Programmer Humor@programming.dev · 2 个月前can somebody confirm this pls?feddit.orgimagemessage-square7fedilinkarrow-up16arrow-down10
arrow-up16arrow-down1imagecan somebody confirm this pls?feddit.orggandalf_der_13te@feddit.org to Programmer Humor@programming.dev · 2 个月前message-square7fedilink
minus-squaretreadful@lemmy.ziplinkfedilinkEnglisharrow-up0·2 个月前What does assigning ... do in C? Is that just default type value or something?
minus-squaregandalf_der_13te@feddit.orgOPlinkfedilinkarrow-up2·edit-22 个月前it’s the easter egg operator. it assigns a random value to your variable. useful for when you need a quick source of good-enough randomness in computer games (/jk)
What does assigning
...do in C? Is that just default type value or something?it’s the easter egg operator. it assigns a random value to your variable. useful for when you need a quick source of good-enough randomness in computer games (/jk)
Relevant xkcd: https://xkcd.com/221/