C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[6] arr[7] arr{6} arr{7} None of these arr[6] arr[7] arr{6} arr{7} None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 12 15 Garbage Value 14 13 12 15 Garbage Value 14 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? scanf() printf() gets() puts() None of these scanf() printf() gets() puts() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Makes the debugging task easier. Enhances the logical clarity of the program. All of these Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Enhances the logical clarity of the program. All of these Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 5 4 6 Error 5 4 6 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns -1 None of these 1 0 true -1 None of these 1 0 true ANSWER DOWNLOAD EXAMIANS APP