1. |
|
|||||||
Answer: Option B Explanation: For (i=0; i * (b+1) = * (b+i) +5; N=5; So * (b+1) is the second element. Thus in first iteration value of 2nd element i.e. 4 will become. For i=0; 2+5=7. i=1;then (b+1)=4+5=9. So only change 2 second element hence output : 2 15 6 8 10. |
Post your comments here:
Name *:
Email : (optional)
Your comments will be displayed only after manual approval.