#include <stdio.h>int func(int n){ return n*n;}int main(void) { int n=3; printf("%d",func(n)); return 0;}
Standard input is empty
9
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!