printfcannot allocate \ ")notes exit ( )temp -data valuetemp -right ptemp->left null temp else temp while node_no + temp temp-right temp struct dnode )malloc sizeof(struct dnode))if temp =null printf("cannot allocate \ ")exit( )temp -data value temp -right temp -righttemp -left temptemp ->right->left temp temp ->left->right temp return ( )void main(int nint xstruct dnode *start null struct dnode *end nullprintf("enter the nodes to be created \ ")scanf("% ",& )while lovely professional university