Elektrine lite

← Feed

@root42@chaos.social

Post #4240331

2026-07-29 12:20 UTC

Quick, without validating through a compiler, or thinking too long: what does this C program do? #include int main(void) { printf('A'); return 0; } #letscode

Replies (1)

  • @alexshendi@oldbytes.space 2026-07-29 12:56

    @root42@chaos.social As for many error cases in C, the result will be implementation defined. I think the program will try to access data at address 0x41 and crash.

    Open ##4240330