Sir, I’m unable to debug the code. please tell me where’s the mistake
Code debugging to find maximum valued element
The array size you have defined is too large that is why the code is not getting compiled.
You can define a global array of size around 10^8 or an array of size around 10^6 and then the code will run properly.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.