Advertisements
Advertisements
प्रश्न
Find and write the output of the following C++ program code:
Note: Assume all required header files are already included in the program:
#define Modify(N) N*3+10
void main()
(
int LIST(]:{l0,15,12,17);
int *P-LIST, C;
for(C=3; C>=O; C--)
LIST[c]=Modify(LIST[c) ;
for (C=O; C<=3; C++)
{
cout<<*P<<":";
P++;
}
}
उत्तर
40: 55: 46: 61
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?