C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 15 14 13 Garbage Value 12 15 14 13 Garbage Value 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 2 a[1] = 2 Compilation error a[1] = 3 a[0] = 3 a[0] = 2 a[1] = 2 Compilation error a[1] = 3 a[0] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 13 14 14 22 14 12 13 22 11 11 11 22 12 12 13 12 10 11 13 22 13 14 14 22 14 12 13 22 11 11 11 22 12 12 13 12 10 11 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? Theoratically no limit. The only practical limits are memory size and compilers. 8 20 2 50 Theoratically no limit. The only practical limits are memory size and compilers. 8 20 2 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} None of these. Equal Unequal Error None of these. Equal Unequal Error 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);} Error 6 3 Garbage value Error 6 3 Garbage value ANSWER DOWNLOAD EXAMIANS APP