For Daily Free Study Material Join wiredfaculty Whatsapp Group | Download Android App | Ncert Book Download
Sponsor Area
Find and write the output of the following C++ program code:Note: Assume all required header files are already being included in the program.
void main() { int *Point, Score[]={100,95,150,75,65,120}; Point = Score; for(int L = 0; L<6; L++) { if((*Point)%10==0) *Point /= 2; else *Point -= 2; if((*Point)%5==0) *Point /= 5; Point++; } for(int L = 5; L>=0; L--){ cout<<Score[L]<<'*'; } }