C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 0 1 2 2 None of these 0 1 2 3 1 1 2 3 1 1 2 2 0 1 2 2 None of these 0 1 2 3 1 1 2 3 1 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 10 11, 10 11, 11 10, 11 10, 10 11, 10 11, 11 10, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is illegal None of these. is syntactically and semantically correct is legal but meaningless is illegal None of these. is syntactically and semantically correct is legal but meaningless ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 8 b = 4, c = 6 b = 3, c = 6 a = 4, c = 6 a = 3, c = 8 a = 4, c = 8 b = 4, c = 6 b = 3, c = 6 a = 4, c = 6 a = 3, c = 8 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 2 2 4 3 4 2 3 3 3 2 2 2 4 3 4 2 3 3 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 3 8 None of these 7 3 8 3 3 7 3 8 None of these 7 3 8 3 3 7 ANSWER DOWNLOAD EXAMIANS APP