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);} 8 3 None of these 7 3 3 7 3 8 8 3 None of these 7 3 3 7 3 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg defg efg bcdefg cdefg fg defg efg bcdefg cdefg 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);} b = 3, c = 6 a = 4, c = 8 a = 3, c = 8 b = 4, c = 6 a = 4, c = 6 b = 3, c = 6 a = 4, c = 8 a = 3, c = 8 b = 4, c = 6 a = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} 10012 Syntax error Runtime error 100 g##g2 10012 Syntax error Runtime error 100 g##g2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? 1examians exam_veda examians1 _examians 1examians exam_veda examians1 _examians ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=3 d=5 c=3 d=3 c=5 d=5 c=5 d=3 c=3 d=5 c=3 d=3 c=5 d=5 c=5 d=3 ANSWER DOWNLOAD EXAMIANS APP