Segmentation fault,tell me where i am wrong

problem - dijkstra algorithm

hello @officialharshit1996

pls check ur updated code here->

can u send me a right code,

I have already shared ur updated code .
and also mentioned the changes in comments pls check

yeah, but this is not working that is why i am asking you to give me a code then i will check what is problem in the code

@officialharshit1996
ok ,pls check this->

https://ide.codingblocks.com/s/377377 , yr can u find where i am wrong in code i have compared this with your code ,i am not able to find where i am wrong both code looks similar to me

@officialharshit1996
check ur updated code here->

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.