Question Set

1. If the two strings are identical, then strcmp() function returns





Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

  • By: guest on 01 Jun 2017 06.02 pm
    Declaration: strcmp(const char *s1, const char*s2); The strcmp return an int value that is if s1 < s2 returns a value < 0 if s1 == s2 returns 0 if s1 > s2 returns a value > 0
Show Similar Question And Answers
QA->If function inside another function is called a _____ Function....
QA->If a U-238 nucleus splits into two identical parts; how will the two nuclei be so produced?....
QA->If a U-238 nucleus splits into two identical parts, how will the two nuclei be so produced?....
QA->In a river flowing at 2 km/h, a boat travels 32 km upstream and then returns downstream to the starting point. If its speed in still water be 6 km/h, find the total journey time.....
QA->In a river flowing at 2 km/h, a boat travels 32 km upstream and then returns downstream to the starting point. If its speed in still water be 6 km/h, find the total journey time....
MCQ->If the two strings are identical, then strcmp() function returns....
MCQ->If s1 and s2 are references to two strings then which of the following are the correct ways to find whether the contents of the two strings are equal? if(s1 = s2) if(s1 == s2) int c; c = s1.CompareTo(s2); if( strcmp(s1, s2) ) if (s1 is s2)....
MCQ->Which two statements are true about comparing two instances of the same class, given that the equals() and hashCode() methods have been properly overridden? If the equals() method returns true, the hashCode() comparison == must return true. If the equals() method returns false, the hashCode() comparison != must return true. If the hashCode() comparison == returns true, the equals() method must return true. If the hashCode() comparison == returns true, the equals() method might return true.....
MCQ->If the two strings are found to be unequal then strcmp returns difference between the first non-matching pair of characters.....
MCQ->Which of the following statements are correct about the String Class in C#.NET? Two strings can be concatenated by using an expression of the form s3 = s1 + s2; String is a primitive in C#.NET. A string built using StringBuilder Class is Mutable. A string built using String Class is Immutable. Two strings can be concatenated by using an expression of the form s3 = s1&s2;....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution