Structurally Identical binary tree

how to take input in this question?l am having problem in implementing the input

hi @tusharjha9835

you can use this template

if you want to ask something about this feel free to ask
i hope this helps
if yes show your response with :heart: and don’t forgot to mark doubt as resolved

https://ide.codingblocks.com/s/326173 my code is giving segmentational fault