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