C Programming Which one of the following is not a valid identifier? exam_veda examians1 _examians 1examians exam_veda examians1 _examians 1examians ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right III and IV II and III I and III II and IV I and II III and IV II and III I and III II and IV I and II 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 subscript for array used in for loop is in the range 1 to size. None of these The code is erroneous since the values of array are getting scanned through the loop. The code is correct and runs successfully. The code is erroneous since the statement declaring array is invalid. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. None of these The code is erroneous since the values of array are getting scanned through the loop. The code is correct and runs successfully. The code is erroneous since the statement declaring array is invalid. 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);} 6 Garbage value Error 3 6 Garbage value Error 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } Syntax error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Runtime error 0x1234ABCD, 0x1234ABCD, 10 Syntax error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Runtime error 0x1234ABCD, 0x1234ABCD, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} Complier error 6 5.600000 5 5.600000 0 5.600000 Complier error 6 5.600000 5 5.600000 0 5.600000 ANSWER DOWNLOAD EXAMIANS APP