C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 14 0 None of these 10 1 14 0 None of these 10 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} nullp nullq x nullq where x can be p or nullp depending on the value of NULL p q Depends on the compiler nullp nullq x nullq where x can be p or nullp depending on the value of NULL p q Depends on the compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Compilation Error 5 5 5 5 5 None of these 5 4 3 2 1 Infinite Loop Compilation Error 5 5 5 5 5 None of these 5 4 3 2 1 Infinite Loop 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);} 5 5.600000 0 5.600000 Complier error 6 5.600000 5 5.600000 0 5.600000 Complier error 6 5.600000 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. 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. None of these The code is erroneous since the statement declaring array is invalid. 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 subscript for array used in for loop is in the range 1 to size. None of these The code is erroneous since the statement declaring array is invalid. ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by value None of these. call by value result call by reference call by value None of these. call by value result call by reference ANSWER DOWNLOAD EXAMIANS APP