C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? defg efg cdefg fg bcdefg defg efg cdefg fg bcdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 1289 0289 0713 Syntax error 713 1289 0289 0713 Syntax error 713 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);} 7 3 8 3 3 7 3 8 None of these 7 3 8 3 3 7 3 8 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 11, 13 13, 10, 24, 50 50, 13, 24, 13 50, 13, 24, 50 13, 13, 24, 13 50, 13, 11, 13 13, 10, 24, 50 50, 13, 24, 13 50, 13, 24, 50 13, 13, 24, 13 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 b = 4, c = 6 a = 3, c = 8 a = 4, c = 6 a = 4, c = 8 b = 3, c = 6 b = 4, c = 6 a = 3, c = 8 a = 4, c = 6 a = 4, 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);} 3 3 2 2 2 3 2 4 3 4 3 3 2 2 2 3 2 4 3 4 ANSWER DOWNLOAD EXAMIANS APP