C Programming Which of the following function is used to find the first occurrence of a given string in another string? None of these strrchr() strnset() strstr() strchr() None of these strrchr() strnset() strstr() strchr() 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 will print garbage value Compilation Error None of these. will print Hello World will print garbage value Compilation Error None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 12 7 24 It will not compile because not enough initializers are given 6 12 7 24 It will not compile because not enough initializers are given 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3; 2 3 0 1 2 3 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? * None of these % + / * None of these % + / ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Garbage Value hi hi followed by garbage value h Error Garbage Value hi hi followed by garbage value h Error ANSWER DOWNLOAD EXAMIANS APP