Which of the following function is more appropriate for reading in a multi-word

Home | Discussion Forum
Taiyari24Hour

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



View More Related Question

2) Which is more appropriate for reading in multi-word string?

3) 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");
}

4) What will be the output of the program ?

 #include<stdio.h>
int main()
{
int i;
char a[] = "\0";
if(printf("%s", a))
printf("empty string\n");
else
printf("not empty string \n");
return 0;
}

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

UP Gk Online Test

taiyari24hour.com

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