fork(1) download
  1. #include <stdio.h>
  2.  
  3. void muda(int arr[]){
  4. arr[0] = 9;
  5. }
  6.  
  7. int main(){
  8. int array[5] = {1,2,3,4,5};
  9. muda(array);
  10.  
  11. printf("%d", array[0]); //9
  12. }
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
9