C Programming Which of the following function is used to find the first occurrence of a given string in another string? strchr() strrchr() strstr() None of these strnset() strchr() strrchr() strstr() None of these strnset() ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 9 5 10 11 6 9 5 10 11 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 2 1 1 2 1 1 2 2 2 1 1 2 1 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Combining two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Merging two strings. Combining two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Merging two strings. 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
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED WHITE BLUE RED ERROR ERROR RED RED WHITE BLUE ERROR RED WHITE BLUE RED ERROR ERROR RED RED WHITE BLUE ERROR ANSWER DOWNLOAD EXAMIANS APP