C Programming The library function used to find the last occurrence of a character in a string is strrchr() strnstr() None of these strstr() laststr() strrchr() strnstr() None of these strstr() laststr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strstr() strrchr() strchr() None of these strnset() strstr() strrchr() strchr() None of these strnset() ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? gets() printf() scanf() None of these puts() gets() printf() scanf() None of these puts() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} None of these Hello World WorldHello World Hello None of these Hello World WorldHello World Hello ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} Morning Good Morning Good M None of these Morning Good Morning Good M None of these ANSWER DOWNLOAD EXAMIANS APP