C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 10 1 6 0 None of these 10 1 6 0 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} Compiler Error GOOD GOOD BAD None of These Compiler Error GOOD GOOD BAD None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop None of These 5 5 5 5 5 5 4 3 2 1 Infinite Loop None of These 5 5 5 5 5 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 0 Garbage Value 1 2 3 0 Garbage Value 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } Depends on the Compiler Linker Error : Undefined symbol 'i' 4 2 Depends on the Compiler Linker Error : Undefined symbol 'i' 4 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[6] arr{6} None of these arr[7] arr{7} arr[6] arr{6} None of these arr[7] arr{7} ANSWER DOWNLOAD EXAMIANS APP