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 Code will not compile Garbage value 0 Garbage vlaue Garbage Value 0 0 0 Garbage Value Code will not compile Garbage value 0 Garbage vlaue Garbage Value 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Partitioning the string into two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Combining two strings. Merging two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Combining two strings. Merging two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to infinite Complier error -10 to 0 -10 to -1 -10 to infinite Complier error -10 to 0 -10 to -1 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 3 1 0 0 0 2 1 0 0 1 3 0 0 0 1 2 0 0 0 1 3 1 0 0 0 2 1 0 0 1 3 0 0 0 1 2 0 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 Compilation Error 0 1 -1 33 Compilation Error 0 1 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 20 30 None of these 25 24 20 30 None of these 25 24 ANSWER DOWNLOAD EXAMIANS APP