#include <stdio.h> int main(void) { int a=10; void f(); a=f(); printf("%d\n",a); return 0;}void f(){ printf("Hi");}
Standard input is empty
prog.c: In function ‘main’: prog.c:6:3: error: void value not ignored as it ought to be a=f(); ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!