C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) pow(x, 2) power(2, x) pow(2, x) sqr(x) power(x, 2) pow(x, 2) power(2, x) pow(2, x) sqr(x) ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... 1 ASCII value of the input read. The number of successful read input values. 0 The actual values read for each argument. 1 ASCII value of the input read. The number of successful read input values. 0 The actual values read for each argument. ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by reference None of these. call by value call by value result call by reference None of these. call by value call by value result ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} 65486, 65487 65486, 65490 65486, 65488 65486, 65486 None of these 65486, 65487 65486, 65490 65486, 65488 65486, 65486 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 );} Prints the value of 0 one time only. The loop will run infinitely many times. The program will not enter into the loop. There will be a compilation error reported. A run time error will be generated. Prints the value of 0 one time only. The loop will run infinitely many times. The program will not enter into the loop. There will be a compilation error reported. A run time error will be generated. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 2, 1, 15 3, 2, 15 1, 2, 5 2, 3, 20 2, 1, 15 3, 2, 15 1, 2, 5 2, 3, 20 ANSWER DOWNLOAD EXAMIANS APP