Using the two strings above, what will the following code display? if(strcmp(str1, str2) == 0) cout
Expert Answer
it should return <0 value more precisely it will return -1
so it goes into the second else if loop
so it will print “cat is less than dog” — this will be the answer