- The Output Of The Following Code Segment Is Int A 2 6 7 5 12 8 For I 5 I 2 I A 5 I A I For I 0 I 6 I Pri 1 (226.69 KiB) Viewed 23 times
The output of the following code segment is: int a[] {2,6,7,5,12,8}; for(i=5;i>2; i--) a[5-i]=a[i]; for(i=0;i<6;i++) pri
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
The output of the following code segment is: int a[] {2,6,7,5,12,8}; for(i=5;i>2; i--) a[5-i]=a[i]; for(i=0;i<6;i++) pri
The output of the following code segment is: int a[] {2,6,7,5,12,8}; for(i=5;i>2; i--) a[5-i]=a; for(i=0;i<6;i++) printf("%i",a); o 2,6,7,2,6,7 8,12,5,5,12,8 5,8,12,5,8,12 8,12,5,2,6,7