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

Home | Discussion Forum
Taiyari24Hour

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



View More Related Question

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

3) Which of the following function is more appropriate for reading in a multi-word string?

4) The library function used to find the last occurrence of a character in a string is

5) What is the output of this C code?

#include <stdio.h>
int main()
{
char *str = "hello, world";
char *str1 = "hello, world";
if (strcmp(str, str1))
printf("equal");
else
printf("unequal");
}

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.