OriginEnergySux@lemmy.world to Lemmy Shitpost@lemmy.world · 11 hours agoI mean, technically the kid's rightlemmy.worldimagemessage-square26fedilinkarrow-up1342
arrow-up1342imageI mean, technically the kid's rightlemmy.worldOriginEnergySux@lemmy.world to Lemmy Shitpost@lemmy.world · 11 hours agomessage-square26fedilink
minus-squarePhoenixDog@lemmy.worldlinkfedilinkarrow-up1·3 hours agoYeah to avoid any clever “gotcha” kids, use A. B. C.
minus-squareInputZero@lemmy.worldlinkfedilinkarrow-up1·2 hours agoA. B. C. Are just undefined variables, and therefore a number. It’s just that we haven’t defined what those numbers are so they can still be any real number including the smallest number
minus-squareAxolotl@feddit.itlinkfedilinkarrow-up1·edit-217 minutes agoError! prog.c: In function ‘main’: prog.c:4:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token 4 | int A.; | ^ prog.c:4:8: error: expected expression before ‘.’ token prog.c:5:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token 5 | int B.; | ^ prog.c:5:8: error: expected expression before ‘.’ token prog.c:6:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token 6 | int C.; | ^ prog.c:6:8: error: expected expression before ‘.’ token
Yeah to avoid any clever “gotcha” kids, use
A. B. C.
A. B. C.
Are just undefined variables, and therefore a number. It’s just that we haven’t defined what those numbers are so they can still be any real number including the smallest number
Error!