#include <stdio.h> int main(void) { const char *s = "1"; puts(s); if (*(s + 1) == 0) puts("YUP!");}
Standard input is empty
1 YUP!
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!