1 Tweet about
Programming Languages
Show Topics

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(;;);}}

over 3 years ago