fork download
  1. #include <stdio.h>
  2.  
  3. __attribute__ ((pure)) int fun(int i)
  4. {
  5. return i*i;
  6. }
  7.  
  8. int main()
  9. {
  10. int i=10;
  11. printf("%d",fun(i));
  12. return 0;
  13. }
Success #stdin #stdout 0.01s 1676KB
stdin
Standard input is empty
stdout
100