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]);} Garbage Value None of these 5 0 6 Garbage Value None of these 5 0 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Function scope Local scope No scope at all File scope Block scope Function scope Local scope No scope at all File scope Block scope ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 7 6 5 None of These 7 6 5 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 2 3 3 3 4 2 3 2 4 2 2 3 3 3 4 2 3 2 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 9 5 8 7 6 9 5 8 7 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming For 16-bit compiler allowable range for integer constants is ________? -32668 to 32667 -32767 to 32768 -3.4e38 to 3.4e38 -32768 to 32767 -32668 to 32667 -32767 to 32768 -3.4e38 to 3.4e38 -32768 to 32767 ANSWER DOWNLOAD EXAMIANS APP