19th Jan 2018, 3:47 PM
Tanvir sadi
Tanvir sadi - avatar
2 Answers
+ 6
@Immortal is right s is a character, not a string yes is a variable/macro/function/type name, not a value you can't directly compare strings in C (you need strcmp function, I let you document yourself on the internet, it is easy to find ;))
19th Jan 2018, 4:06 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar