Computer Science, asked by mahatodharmendra733, 6 months ago

Find The OutPut Of The Given Program Reply Fast​

Attachments:

Answers

Answered by lovishkhanna
0

Answer:

he is yes then told her to n h each other hand I am a bit to the following ad the tt to be in touch and the answer is that the following ad listing to the tt

Answered by anindyaadhikari13
1

Question:-

  • Find the output of the given program.

Solution:-

Given array,

arr[]={2,4,6,8,10,12,14}

Now,

k=arr[0]; or k=2

Now,

arr[0]=arr[3];

Now, the array will be,

arr[]={8,4,6,8,10,12,14}

Again,

arr[3]=k

Now, the array should look like,

arr[]={8,4,6,2,10,12,14}

Now, the contents of the array will be printed.

Hence, the output will be,

8,4,6,2,10,12,14,

Output:-

8,4,6,2,10,12,14,

Similar questions