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 WHITE BLUE ERROR ERROR RED RED ERROR RED WHITE BLUE RED WHITE BLUE ERROR ERROR RED RED ERROR ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 100 100 100 5 0 20 5 0 100 100 5 100 100 0 100 100 100 100 5 0 20 5 0 100 100 5 100 100 0 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strstr() strrchr() strnstr() None of these laststr() strstr() strrchr() strnstr() None of these laststr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator has the lowest priority? ++ % && + || ++ % && + || 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);} None of these. will print garbage value Compilation Error will print Hello World None of these. will print garbage value Compilation Error will print Hello World ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 6 4 Error 5 6 4 Error 5 ANSWER DOWNLOAD EXAMIANS APP