#include <stdio.h> int i = printf("hi"); int main(void) { printf("%d\n",i); return 0;}
Standard input is empty
prog.c:3:9: error: initializer element is not constant int i = printf("hi"); ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!