fork download
  1. #include <stdio.h>
  2.  
  3. int foo(int x)
  4. {
  5. return x * x;
  6. }
  7.  
  8. int main(void) {
  9. // your code goes here
  10. int a = foo(2+3);
  11. printf("a is %d\n",a);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 4308KB
stdin
Standard input is empty
stdout
a is 25