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 3 4 3 3 2 2 2 3 2 4 3 4 3 3 2 2 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} 65474, 65476 65480, 65488 65480, 65496 None of these 65474, 65488 65474, 65476 65480, 65488 65480, 65496 None of these 65474, 65488 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 10 11 11 10 20 21 21 10 20 21 10 10 20 21 20 10 10 11 11 10 20 21 21 10 20 21 10 10 20 21 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? Syntax error 8 Runtime error 6 No output Syntax error 8 Runtime error 6 No output ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} Error make an infinite loop None of These Some address will be printed Error make an infinite loop None of These Some address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); Garbage Value 13 15 12 14 Garbage Value 13 15 12 14 ANSWER DOWNLOAD EXAMIANS APP