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

Home | Discussion Forum
Taiyari24Hour

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



View More Related Question

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

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

4) What will be the output of the program ?

 #include<stdio.h>
#include<string.h>
int main()
{
char str[] = "Study 2 Online\0 C Language MCQ\0";
printf("%s\n", str);
return 0;
}

5) What will be the output of the following program?

void main()
{
char str1[] = "abcd";
char str2[] = "abcd";
if(str1==str2)
printf("Equal");
else
printf("Unequal");
}

UP Gk Online Test

taiyari24hour.com

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