#include <stdio.h> int main(){ int x = 7; printf ("x = %f\n", (double) x); return 0;}
Standard input is empty
x = 7.000000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!