0
How to compare the string in if con
I want it to show ye when I input 1 but its always show nee
2 Answers
+ 1
"==" checks if both strings are pointing to same address. You can use strcmp to compare two strings.
if(strcmp("hi", "hi") == 0)
{
}
0
https://code.sololearn.com/cNE5U80HoV26/#c
here my code .-.