Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Type-Safe C

Name: Anonymous 2017-04-27 11:37

>C lacks type safety.
typedef struct struct_x{int typesafe_data; } name;
How this isn't type safe? Also, it stores the struct within the same size as int.

Name: Anonymous 2017-04-29 21:53

>>4
Yeah but you're lying to the program by telling it 05 is a legal memory address in the program's address space. A program shouldn't be expected to behave correctly when given nonsensical input.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List