Vidyalelo
C Programming · Q30

Arrays and Strings

Programming · C Programming · question 30

Q30

How can you check if two strings are equal in C?

A.
Use the == operator
B.
Use the strcmp function
Answer
C.
Use the equals function
D.
Use the = operator

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board