Problem comparing chars [Solved]

Hi guys, I have this easy code:

char test[] = "sample";
  if (test == "sample") {
    Serial.println("OK");    
  }
  else {
    Serial.println("FAIL");  
  }

I'm having a FAIL text on my serial monitor, instead of OK. I've tried to change "sample" for 'sample' at the if statement but i got the following error: "ISO c++ forbids comparison between ponter and integer". What I'm doing wrong? ,how can I solve it? Thanks in advance.

test is the address of an array. The address will never equal "sample".

strcmp()

Thanks man, It works fine :)

  char test[] = "samples";
  if (strcmp(test,"sample")==0) {
    Serial.println("OK");    
  }
  else {
    Serial.println("FAIL");  
  }