Explore our questions

16 votes
11 answers
5k views

What prevents languages from having arbitrary sized return data on the stack?

4 votes
6 answers
522 views

How can memory addresses be compile-time constants?

5 votes
9 answers
1k views

Correctness of mixed signed/unsigned arithmetic

35 votes
2 answers
19k views

Why do common Rust packages depend on C code?

10 votes
1 answer
238 views

What was the rationale for making realloc(ptr, 0) have UB in C23

8 votes
4 answers
2k views

Why are mixed declarations more challenging to implement than forcing all declarations to be at the top of a scope?

11 votes
3 answers
495 views

When was our current definition of "undefined behavior" first used?

19 votes
4 answers
5k views

What obstacles prevented C and C++ from standardizing π?

17 votes
3 answers
2k views

What optimizations does the strict aliasing rule facilitate?

4 votes
3 answers
240 views

C source compatibility versus C linker compatibility

8 votes
9 answers
620 views

Would a structure ever require padding beyond what is required to align the members?

3 votes
2 answers
382 views

Why does the C library include fgetpos()/fsetpos() if the same functionality can be achieved with ftell()/fseek()?

19 votes
10 answers
4k views

Why would accessing uninitialized memory necessarily be undefined behavior?

6 votes
2 answers
324 views

If size could be determined at compile time then why could size not be determined at preprocess time?

Browse more Questions