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} None of these arr{7} arr[6] arr[7] arr{6} None of these arr{7} ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 2 0 0 0 0 2 1 0 0 1 3 1 0 0 1 3 0 0 0 1 2 0 0 0 0 2 1 0 0 1 3 1 0 0 1 3 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} None of These Hello Some Address will be printed H None of These Hello Some Address will be printed H ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 0..0 1..0 1..1 0..1 0..0 1..0 1..1 0..1 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 2 4 3 4 2 3 3 3 2 2 2 4 3 4 2 3 3 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP