adplus-dvertising
frame-decoration

Question

What is the return value of the following statement if it is placed in C program?

strcmp("ABC", "ABC");

a.

33

b.

1

c.

0

d.

Compilation Error

Answer: (c).0

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC");