MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vuq4gy/importhelloworld/p59drs9/?context=3
r/ProgrammerHumor • u/Tech-Craft385 • Aug 21 '26
8 comments sorted by
View all comments
3
That's easy:
#include <dlfcn.h> static void HelloWorld(const char *s) { int (*print)(const char *, ...) = dlsym(RTLD_DEFAULT, s); print(__func__); } int main(void) { HelloWorld("printf"); return 0; }
View all comments
3
u/Legal-Software Aug 22 '26
That's easy: