fork download
  1.  
  2.  
  3. #include<stdio.h>
  4.  
  5. void fun(int arr[]){
  6. int i;
  7. int arr_size = sizeof(arr)/sizeof(arr[0]);
  8. for(i=0;i<arr_size;i++){
  9. printf("%d",arr[i]);
  10. }
  11. }
  12.  
  13. int main(){
  14. int i;
  15. int arr[4] = {12,24,36,48};
  16.  
  17. fun(arr);
  18.  
  19. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
1224