Shortest program that results in infinite loop by programming language: Python: while 1:0 C: main(){main();} Lisp: (loop) Javascript: for(;;); Java: class A{public static void main(String[]a){for(;;);}}
Saved to
Programming Languages
Lex Fridman
about 3 years ago