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

1) What will be the output of the program ?

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

2) 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;
}

3) Which of the following function is used to find the first occurrence of a given string in another string?

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

5) What will be the output of the program ?

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

UP Gk Online Test

taiyari24hour.com

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