InterviewSolution
Saved Bookmarks
| 1. |
Find the output of the following c program. #include int main () { int a; int arr[5]={1,2,3,4,5}; arr[1]=++arr[1]; a=arr[1]++; arr[1]=arr[a++]; printf ("%d,%d",a,arr[1]); return 0; } a)5,4 B)5,5 C)4,4 D)3,4 |
| Answer» 5, 4Explanation:....:<´¥•¡°<´<°÷¡´©´÷©÷¥``®´€¡¥´•£±£´®¥^`©_©¿^;©, | |