hello world in C without semicolons and without IF/WHILE/FOR statements [closed]

#include <stdio.h>

int main() {
    switch (printf("Hello, world!\n")) {}
}

If your friend says “oh, you can’t use switch either,” then:

#include <stdio.h>

int main(int argc, char *argv[printf("Hello, world!\n")]) {}

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)