0

[SOLVED] How is it 0 here? I thought it must be 1 cause they look the same each other. Is the problem length of the strings?

char a[]="tashkent"; char b[9]="tashkent"; cout<<(a==b);

11th Sep 2021, 10:37 PM
mesarthim
mesarthim - avatar
2 Antworten
11th Sep 2021, 10:44 PM
Abhay
Abhay - avatar