C   14

array.c

Guest on 15th January 2022 09:05:21 AM

  1. #include <stdio.h>;
  2.  
  3. main() {
  4.  
  5.  
  6. int a[5],i,b;
  7. b=5;
  8.  
  9. for (i=0; i<5; i++){
  10. b++;
  11.     printf("a[%d]=%d\n",i,b);
  12.     }
  13.  
  14.  
  15. return(0);
  16.  
  17. }

Raw Paste


Login or Register to edit or fork this paste. It's free.