Structure identical

what is wrong?

hello @samardeep

is ur input valid ?

yes it is correct…

check ur input once again.

here is ur updated code->

handle a==NULL and b==NULL case explicitly