Bluetooth door open

[code#include <SoftwareSerial.h>
SoftwareSerial BTserial(2, 3); // RX | TX
// Connect the HC-05 TX to Arduino pin 2 RX.
// Connect the HC-05 RX to Arduino pin 3 TX through a voltage divider.
//

int c[5];

void setup()
{
pinMode(13,OUTPUT);
digitalWrite(13,LOW);
Serial.begin(9600);
Serial.println("Arduino is ready");

// HC-05 default serial speed for commincation mode is 9600
BTserial.begin(9600);
}

void loop()
{

// Keep reading from HC-05 and send to Arduino Serial Monitor
if (BTserial.available()>0)
{
c[0] = BTserial.read();
Serial.println(c[0]);

}
if(c[0]==1234){
Serial.println("available");
Serial.println("UNLOCKED");
delay(2000);
}
else{
Serial.println("NOOOOOOOO");
Serial.println("TRY AGAIN");
delay(2000);
}
// Keep reading from Arduino Serial Monitor and send to HC-05
if (Serial.available())
{
c[0] = Serial.read();
BTserial.write(c[0]);
}
}

/code]

it complies and but when i send a data like 1234 in serial monitor i get
49
50
51 etc but i didnt send that , please help me/b]

This receives an 8-bit value, a char, not a 16-bit int, so c[0] will never be equal to 1234.:-

c[0] = BTserial.read();

In reality, you're sending ASCII. '1', '2', '3', '4'
It needs to be put together into a C string as each character arrives, then converted to an int. 'atoi()' will do the conversion.

Google "Serial Input Basics", and have a good read of the relevant Arduino thread from the results.