- cross-posted to:
- [email protected]
- [email protected]
- cross-posted to:
- [email protected]
- [email protected]
C is a portable language.
The correct answers are:
- implementation defined
- implementation defined
- implementation defined
- implementation defined
- undefined behaviour
Which is a lot more precise than “nasal demons”, because at the end of the day, code gets compiled by a specific compiler toolchain for a specific platform and all these potentialities get collapsed.
Hell yeah I know C. Let’s go.
First question. Oh easy. Lemme just lookup ‘sizeof’…
stdint.h users stay winning
100% correct! I’m going to start calling myself a guru and condescendingly refusing to answer anyone’s questions. Now where’s my tshirt with the picture of tux on it?
And this is why we use Rust! Though, C will always hold a special place in my heart and I still love it. Sure, it’s dangerous and what not and it’s easy to shoot yourself in the foot or whatever the new saying is these days, but there’s something really fun about having almost zero guard rails and having the ability to just do anything.
And this is why we use Rust!
Question: How do you tell if someone programs in Rust?
Answer: Just wait, they’ll eventually tell you in an unrelated conversation
there’s something really fun about having almost zero guard rails and having the ability to just do anything.
imo this makes it such a useful tool for learning computer programming
Agreed! C is the language I recommend to people if they want to learn how things work at a low level since you’re basically one step above raw assembly. It was one of the first languages I learned and helped a lot with understanding things later on when working with other languages.
Yeah I know my ABCs