Why am I getting

lvalue required as left operand of assignment

with a single string comparison? How can I fix this in C?

if (strcmp("hello", "hello") = 0)

Thanks!

Edit
Report