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
-
answerhappygod
- Site Admin
- Posts: 899604
- 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!