C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} Compilation error a[0] = 3 a[0] = 2 a[1] = 2 a[1] = 3 Compilation error a[0] = 3 a[0] = 2 a[1] = 2 a[1] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns true None of these 0 1 -1 true None of these 0 1 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? 2 Program do no return a value. 1 -1 2 Program do no return a value. 1 -1 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, 24, 50 50, 13, 24, 13 13, 13, 24, 13 50, 13, 11, 13 13, 10, 24, 50 50, 13, 24, 50 50, 13, 24, 13 13, 13, 24, 13 50, 13, 11, 13 13, 10, 24, 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strnstr() None of these laststr() strrchr() strstr() strnstr() None of these laststr() strrchr() strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - 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. Merging two strings. ANSWER DOWNLOAD EXAMIANS APP