#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")]) {}
#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")]) {}