I really need help with this one. Very confused with arrays... I always get FALSE in this program. How to make them match?
Source:
Code:#include <stdio.h> #include <stdlib.h> #include <windows.h> int main() { char array1[10],array2[10],array3[10]; array1[10]='h','e'; array2[10]='l','l','o'; array3[10]='h','e','l','l','o'; if(((array1,array2)==array3)==TRUE) { printf("THEY MATCH"); system("PAUSE"); } if(((array1,array2)==array3)==FALSE) { printf("THEY DONT MATCH"); system("PAUSE"); } }