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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
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

Post by answerhappygod »

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
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; 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!
Post Reply