#include <time.h> f(){time_t t=time(0)+8640000;char b[9];strftime(b,9,"%d-%m-%y",localtime(&t));puts(b);} int main(){ f();}
Standard input is empty
15-07-17
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!