Toot

Written by rk: could be an enum on 2025-02-01 at 15:49

Fun C question of the day.

typedef struct foo { char *s;} foo;

int

main(void)

{

foo f;

memset(&f, 0, sizeof(f));

}

Does f.s == NULL?

[#]c #programming

=> More informations about this toot | View the thread | More toots from rk@well.com

Mentions

Tags

=> View c tag | View programming tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113929417829477880
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
263.164355 milliseconds
Gemini-to-HTML Time
0.708694 milliseconds

This content has been proxied by September (3851b).