Question:Which of the following statement is not correct for PHP strcmp(str1,str2) function in case of return? 

A It returns 0 if str1 and str2 are equal 

B It returns 1 if str1 is less than str2 

C It returns -1 if str2 is less than str1 

D It returns 1 if str1 and str2 are equal 

+ Answer
+ Report
Total Preview: 781

Copyright © 2024. Powered by Intellect Software Ltd