[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? | Sololearn: Learn to code for FREE!
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
1 Odpowiedź
11th Sep 2021, 10:44 PM
Abhay
Abhay - avatar