C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage value 0 0 0 0 Garbage Value Code will not compile Garbage vlaue Garbage Value Garbage value 0 0 0 0 Garbage Value Code will not compile Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It is a unary operator All of these It associates from the right The operand can come before or after the operator It cannot be applied to an expression It is a unary operator All of these It associates from the right The operand can come before or after the operator It cannot be applied to an expression ANSWER DOWNLOAD EXAMIANS APP
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? 10 -110 110 450 -10 10 -110 110 450 -10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Exam_veda None of these Both A and B Exam veda Examians Exam_veda None of these Both A and B Exam veda Examians ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 9 5 6 11 10 9 5 6 11 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 1, 2, 5 3, 2, 15 2, 1, 15 2, 3, 20 1, 2, 5 3, 2, 15 2, 1, 15 2, 3, 20 ANSWER DOWNLOAD EXAMIANS APP