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 RED WHITE BLUE ERROR ERROR RED ERROR RED WHITE BLUE RED RED WHITE BLUE ERROR ERROR RED ERROR RED WHITE BLUE ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 1 0 100 Error 1 0 100 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: float *ptr; None of these *float ptr; float ptr; float *ptr; None of these *float ptr; float ptr; ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 24 None of these 20 30 25 24 None of these 20 30 25 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 10 0 Syntax error Infinite loop 0123456789 10 0 Syntax error Infinite loop 0123456789 ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? cdefg efg bcdefg fg defg cdefg efg bcdefg fg defg ANSWER DOWNLOAD EXAMIANS APP