#include <stdio.h> int main(){ for (short a = 32765; a >= 0; a++) printf("%hd %d\n", a, a >= 0); return 0;}
Standard input is empty
32765 1 32766 1 32767 1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!