C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 2 2 3 3 3 3 4 2 4 2 2 2 3 3 3 3 4 2 4 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 ERROR ERROR RED ERROR RED RED WHITE BLUE RED WHITE BLUE ERROR ERROR RED ERROR RED RED WHITE BLUE ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 1 Error 0 100 1 Error 0 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 6 None of These 5 7 6 None of These 5 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); None of these 10 11 12 13 14 15 Infinite loop 10 11 12 13 14 9 10 11 12 13 None of these 10 11 12 13 14 15 Infinite loop 10 11 12 13 14 9 10 11 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on R-values Both of the above Members of a structure Arithmetic expressions Local variables R-values Both of the above Members of a structure Arithmetic expressions Local variables ANSWER DOWNLOAD EXAMIANS APP