C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? int Depends upon the type of the variable to which it is pointing. unsigned int No data type float int Depends upon the type of the variable to which it is pointing. unsigned int No data type float ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It cannot be applied to an expression It is a unary operator The operand can come before or after the operator All of these It associates from the right It cannot be applied to an expression It is a unary operator The operand can come before or after the operator All of these It associates from the right ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 13 12 14 11 Compilation error 13 12 14 11 Compilation error 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 values of array are getting scanned through the loop. None of these 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 statement declaring array is invalid. The code is correct and runs successfully. The code is erroneous since the values of array are getting scanned through the loop. None of these 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 statement declaring array is invalid. The code is correct and runs successfully. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} complier error 1 no error no output 0 complier error 1 no error no output 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[7] arr{6} None of these arr[6] arr{7} arr[7] arr{6} None of these arr[6] arr{7} ANSWER DOWNLOAD EXAMIANS APP