#include <iostream>using namespace std; int main() { int n; printf("%f %n\n", 12.0, &n); printf("%d", n); return 0;}
Standard input is empty
12.000000 10
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!