C Programming int a[5] = {1,2,3}What is the value of a[4]? 1 0 Garbage Value 3 2 1 0 Garbage Value 3 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator has the lowest priority? || && + % ++ || && + % ++ ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about the program below?#includevoid main(){ int size, i; scanf("%d", &size); int arr[size]; for(i=1; i<=size; i++) { scanf("%d", arr[i]); printf("%d", arr[i]); }} The code is erroneous since the statement declaring array is invalid. None of these The code is correct and runs successfully. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. None of these The code is correct and runs successfully. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is erroneous since the values of array are getting scanned through the loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 10 Run time error 10 20 20 20 10 10 Run time error 10 20 20 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} the behavior is undefined i=5 j=2 i=4 j=2 i=3 j=2 the behavior is undefined i=5 j=2 i=4 j=2 i=3 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Makes the debugging task easier. Enhances the logical clarity of the program. All of these Helps to avoid repeating a set of statements many times. Helps to avoid repeated programming across programs. Makes the debugging task easier. Enhances the logical clarity of the program. All of these Helps to avoid repeating a set of statements many times. Helps to avoid repeated programming across programs. ANSWER DOWNLOAD EXAMIANS APP