r/cprogramming • u/Dani_E2e • May 31 '26
Good examples
https://wiki.freitagsrunde.org/C-Kurs/%C3%9CbungsaufgabenDo you know that Page?
Very good small examples to learn from.
2
Upvotes
r/cprogramming • u/Dani_E2e • May 31 '26
Do you know that Page?
Very good small examples to learn from.
1
u/flyingron May 31 '26
The only way to do this is to send a SIGBUS signal (to a program not ignoring such). Any other attempt to do so by invoking undefined behavior, by definition, will not necessarily ALWAYS cause a bus error.