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
Posted: Mon Jun 06, 2022 2:01 pm
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