+ 1
Exclamation mark in C?
What does exactly mean when they use the exclamation mark before the (function or whatever )? Like this example : (!strcmp(old_ct.name,cts[i].name)&& !strcmp(old_ct.prenom,cts[i].prenom))
2 Respuestas
+ 7
! negates the statement: !true == false
+ 1
Logical operatior strcmp return 0 if both string are equal and !0 is 1
&& and logical operator which return true if both condition are true ..