Regarding descending order

here it is showing compare is not declared in scope so where we have to declare the comapare tell me about this.

hello @ssmit_joshi
pls share ur code using cb ide

put ur compare function before main

still it is coming in ascending order … what to do

it is working fine. … …

i m telling its not coming then wt i do

it is working.

its coming only on your coding blocks that too not much right it should come in all compiler because these compiler you have made wt if it is not running in another compiler.

ur code is correct.

the issue is something with ur ide . so resolve it from ur end and then try.

no its from your side we dont trust coding blocks compiler

then go talk to support team . i m not here for solving ur technical issue.
email-> [email protected]

you can try it on other compiler if u can so pls resolve and tell

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.