fork download
  1. #include <stdio.h>
  2.  
  3. void function(int a[], int size)
  4. {
  5. for(int n=0; n < size; ++n)
  6. printf("%d ", a[n]);
  7. }
  8.  
  9. int main()
  10. {
  11. function( (int[]){100, 3, 80, 9}, 4 );
  12. }
  13.  
Success #stdin #stdout 0.02s 1720KB
stdin
Standard input is empty
stdout
100 3 80 9