@ nabajeet
in labrotory its prepared by the reaction of granulated zinc with dil. Hcl
zn + 2hcl = zncl 2 + h2 ( eliminated as gas )
one more method is their
by action of metals like zn , al on strong alkalis like Naoh or Koh
HOPE IT CLEARS
ALL THE BEST