i have one doubt, how to send array value via gsm.
You aren't wery clear here.
Is your password intended to log in to the network, like a PAP or CHAP secret?
Or do you want to send the password somewhere - like in an SMS?
Anyway - the communication with the module happens character by character. Sometimes with the characters grouped into text lines like when you send AT commands.
THANKS FOR YOUR REPLY. THE PROBLEM IS THAT WHENEVER I AM PASSING STRING IT ACCEPT BUT WHEN I AM PASSING INT IT'S NOT TAKING.