C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 Garbage Value Garbage vlaue Garbage Value Code will not compile 0 0 Garbage value 0 0 Garbage Value Garbage vlaue Garbage Value Code will not compile 0 0 Garbage value 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strnstr() laststr() strrchr() None of these strstr() strnstr() laststr() strrchr() None of these strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator has the lowest priority? && % + ++ || && % + ++ || ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 5 Garbage Value 0 None of these 6 5 Garbage Value 0 None of these 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 1 2, 3 1, 4 2, 4 None of these 1 2, 3 1, 4 2, 4 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} 65486, 65486 65486, 65487 65486, 65488 65486, 65490 None of these 65486, 65486 65486, 65487 65486, 65488 65486, 65490 None of these ANSWER DOWNLOAD EXAMIANS APP