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

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

2) Which of the following function sets first n characters of a string to a given character?

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

4) What is the output of this C code?

#include <stdio.h>
int main()
{
char str[11] = "hello";
char *str1 = "world";
strcat(str, str1);
printf("%s %d", str, str[10]);
}

5) What will be the output of the program ?

  #include<stdio.h>
int main()
{
printf("Study 2 Online", " C Language MCQ\n");
return 0;
}

UP Gk Online Test

taiyari24hour.com

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