C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg defg cdefg bcdefg efg fg defg cdefg bcdefg efg 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 7 3 8 7 3 8 3 None of these 3 7 3 8 7 3 8 3 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Merging two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Partitioning the string into two strings. Combining two strings. Merging two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Partitioning the string into two strings. Combining two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 2, 1, 15 3, 2, 15 2, 3, 20 1, 2, 5 2, 1, 15 3, 2, 15 2, 3, 20 1, 2, 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns -1 0 None of these true 1 -1 0 None of these true 1 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? 6 Runtime error 8 Syntax error No output 6 Runtime error 8 Syntax error No output ANSWER DOWNLOAD EXAMIANS APP