How do you compare two instances of structs for equality in standard C?
C provides no language facilities to do this - you have to do it yourself and compare each structure member by member.
2.1m questions
2.1m answers
60 comments
57.0k users