C Programming The default parameter passing mechanism is call by value call by value result None of these. call by reference call by value call by value result None of these. call by reference ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} None of these 1 1 2 2 0 1 2 2 1 1 2 3 0 1 2 3 None of these 1 1 2 2 0 1 2 2 1 1 2 3 0 1 2 3 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. 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 correct and runs successfully. 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. 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 correct and runs successfully. The code is erroneous since the values of array are getting scanned through the loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. I and III II and IV I and II II and III III and IV I and III II and IV I and II II and III III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Will make an infinite loop. None of these. Error Some address will be printed. Will make an infinite loop. None of these. Error Some address will be printed. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 9 0.5 1 2 0.25 9 0.5 1 2 0.25 ANSWER DOWNLOAD EXAMIANS APP