fork download
  1. #include <stdio.h>
  2.  
  3. int square(int c){
  4. return c*c;
  5. }
  6.  
  7. int main(void) {
  8.  
  9. int m;
  10. m=2;
  11. printf("%d^4=%d",m,square(square(m)));
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
2^4=16