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]);} 6 0 None of these Garbage Value 5 6 0 None of these Garbage Value 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 Compiler Error None of These 50 10 Compiler Error None of These 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 3 Error 6 Garbage value 3 Error 6 Garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 1 1 1 0 0 0 garbage values Error 1 1 1 0 0 0 garbage values ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 33 -1 Compilation Error 0 1 33 -1 Compilation Error 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 12 13 11 14 Compilation error 12 13 11 14 Compilation error ANSWER DOWNLOAD EXAMIANS APP