C Programming int a[5] = {1,2,3}What is the value of a[4]? 2 Garbage Value 0 3 1 2 Garbage Value 0 3 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 50 10 15 None of these 30 50 10 15 None of these 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = 1, +i = 1 i = -1, +i = 1 None of These i = -1, +i = -1 i = 1, +i = 1 i = -1, +i = 1 None of These i = -1, +i = -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is None of these. call by value call by value result call by reference None of these. call by value call by value result call by reference ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions All of these Makes the debugging task easier. Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. All of these Makes the debugging task easier. Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 0 1 2 3 1 1 2 2 0 1 2 2 None of these 1 1 2 3 0 1 2 3 1 1 2 2 0 1 2 2 None of these 1 1 2 3 ANSWER DOWNLOAD EXAMIANS APP