MCQOPTIONS
Saved Bookmarks
| 1. |
Whatwouldbetheoutputoffollowingcode? #include intmain(intargc,char**argv) { intiVar=0,iCnt,aiArr[]={56,23,4,89,-200,34}; for(iCnt=1;iCnt<6;iCnt++) { if(aiArr[iCnt] iVar=iCnt; } printf("%d",iVar); return0; } |
| A. | 4 |
| B. | 89 |
| C. | 3 |
| D. | -200 |
| Answer» B. 89 | |