Possible Duplicate:
C String — Using Equality Operator == for comparing two strings for equality
I have the following code;
#include <stdio.h>
#define MAXLINE 2600
char words[4][MAXLINE];
int i;
int main(){
    printf("Enter menu option: ");
    scanf("%s", words[i]);
    printf ("\n %s was entered!", words[i]);
    if (words[i]=="help"){
        printf("\nHelp was requested");
    } 
    else 
    { 
        printf("\nCommand not recognized!"); 
    }
}
The array evaluation in the if statement isn't working. I am obviously doing something wrong. Can someone explain to me what?
 
     
     
    