C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} complier error 1 -1 1 1 -1 1 -1 -1 complier error 1 -1 1 1 -1 1 -1 -1 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] arr{6} None of these arr[7] arr{7} arr[6] arr{6} None of these arr[7] ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by reference None of these. call by value result call by value call by reference None of these. call by value result call by value ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command need not start on a new line comes before the first executable statement has # as the first character need not start on the first column need not start on a new line comes before the first executable statement has # as the first character need not start on the first column ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 5 Error 9 6 None of these 5 Error 9 6 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The loop will run infinitely many times. A run time error will be generated. Prints the value of 0 one time only. The program will not enter into the loop. There will be a compilation error reported. The loop will run infinitely many times. A run time error will be generated. Prints the value of 0 one time only. The program will not enter into the loop. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP