please check why my code is not working
In other compiler it's working
hello @kundankumarsports2
please save ur code here -> https://ide.codingblocks.com/
and share the link with me
n can be 0 as well so handle that case in ur create/2 function.
simiarly p and q can be null as well in the merge function to handle that as well.
i didn’t get you can you edit the code
it’s showing segmentation fault when i submitted it
wait i m checking . . . . . . .
n and n2 can be 0 , so we cant make a zero size array ,that why i put those array declaration inside if statements
after that also its showing segmentation fault
r u sure?
in my machinne it is working

may be u did some mistake in copying,pls check again
press on submit button and then share the screenshot
ya after submitting its working but when i was doing compile and test it was showing errror
thank you
u might have not given any input
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.
