C Programming Which of the following function is used to find the first occurrence of a given string in another string? None of these strchr() strstr() strrchr() strnset() None of these strchr() strstr() strrchr() strnset() ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Combining two strings. Comparing the two strings to define the larger one. Partitioning the string into two strings. Extracting a substring out of a string. Merging two strings. Combining two strings. Comparing the two strings to define the larger one. Partitioning the string into two strings. Extracting a substring out of a string. Merging two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = modf(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 11 11, 10 10, 11 10, 10 11, 11 11, 10 10, 11 10, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when All of these It is a declaratrion Initialization is a part of definition It is a formal parameter All of these It is a declaratrion Initialization is a part of definition It is a formal parameter ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World Compilation Error will print garbage value None of these. will print Hello World Compilation Error will print garbage value None of these. ANSWER DOWNLOAD EXAMIANS APP