MCQOPTIONS
Bookmark
Saved Bookmarks
→
Strings
→
General in Strings
→
Is there any function declared as strstr()?
..
1.
Is there any function declared as strstr()?
A.
true
B.
false
Answer» B. false
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
<p>What will be the output of the program ?</p> <pre> <code>#include<stdio> int main() { char *names[] = { "Suresh", "Siva", "Sona", "Baiju", "Ritu"}; int i; char *t; t = names[3]; names[3] = names[4]; names[4] = t; for(i=0; i<=4; i++) printf("%s,", names[i]); return 0; }</stdio></code></pre> <p> </p>
<p>What will be the output of the program ?</p> <pre> <code>#include<stdio> #include<string> int main() { char str[] = "India 0 BIX 0"; printf("%d n", strlen(str)); return 0; }</string></stdio></code></pre> <p> </p>
<p>What will be the output of the program ?</p> <pre> <code>#include<stdio> int main() { char str[7] = "IndiaBIX"; printf("%s n", str); return 0; }</stdio></code></pre> <p> </p>
<p>What will be the output of the program If characters 'a', 'b' and 'c' enter are supplied as input?</p> <pre> <code>#include<stdio> int main() { void fun(); fun(); printf(" n"); return 0; } void fun() { char c; if((c = getchar())!= ' n') fun(); printf("%c", c); }</stdio></code></pre> <p> </p>
<p>What will be the output of the program ?</p> <pre> <code>#include<stdio> int main() { printf("India", "BIX n"); return 0; }</stdio></code></pre> <p> </p>
<p>What will be the output of the program ?</p> <pre> <code>#include<stdio> #include<string> int main() { char str[] = "India 0 BIX 0"; printf("%s n", str); return 0; }</string></stdio></code></pre> <p> </p>
<p>What will be the output of the program ?</p> <pre> <code>#include<stdio> #include<string> int main() { printf("%d n", strlen("123456")); return 0; }</string></stdio></code></pre> <p> </p>
<p>What will be the output of the program ?</p> <pre> <code>#include<stdio> int main() { printf(5+"Good Morning n"); return 0; }</stdio></code></pre> <p> </p>
<p>What will be the output of the program ?</p> <pre> <code>#include<stdio> int main() { char p[] = "%d n"; p[1] = 'c'; printf(p, 65); return 0; }</stdio></code></pre> <p> </p>
<p>What will be the output of the program ?</p> <pre> <code>#include<stdio> #include<string> int main() { char str1[20] = "Hello", str2[20] = " World"; printf("%s n", strcpy(str2, strcat(str1, str2))); return 0; }</string></stdio></code></pre> <p> </p>
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply