C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} Error x=0 x=1 x=4 x=5 Error x=0 x=1 x=4 x=5 ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 13 14 14 12 10 11 13 22 12 12 13 22 11 11 11 22 14 12 13 22 13 14 14 12 10 11 13 22 12 12 13 22 11 11 11 22 14 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 2 0 1 Garbage Value 3 2 0 1 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{6} arr[6] None of these arr[7] arr{7} arr{6} arr[6] None of these arr[7] arr{7} ANSWER DOWNLOAD EXAMIANS APP
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 3 3 2 2 3 4 2 4 2 3 3 3 2 2 3 4 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); 14 13 12 15 Garbage Value 14 13 12 15 Garbage Value ANSWER DOWNLOAD EXAMIANS APP