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 4 2 3 2 2 3 3 3 4 2 4 2 3 2 2 3 3 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 17 19 -1 20 16 17 19 -1 20 16 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 14 None of these 0 10 1 14 None of these 0 10 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 7 12 7 11 6 5 6 6 6 6 7 12 7 11 6 5 6 6 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. All of these Makes the debugging task easier. Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. All of these Makes the debugging task easier. Helps to avoid repeated programming across programs. 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 ERROR RED RED WHITE BLUE ERROR RED WHITE BLUE ERROR RED ERROR RED RED WHITE BLUE ERROR RED WHITE BLUE ERROR ANSWER DOWNLOAD EXAMIANS APP