C Programming Which of the following function calculates the square of 'x' in C? pow(2, x) power(2, x) power(x, 2) pow(x, 2) sqr(x) pow(2, x) power(2, x) power(x, 2) pow(x, 2) sqr(x) 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] None of these arr[6] arr{7} arr{6} arr[7] None of these arr[6] arr{7} arr{6} 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);} 1, 2, 5 2, 3, 20 3, 2, 15 2, 1, 15 1, 2, 5 2, 3, 20 3, 2, 15 2, 1, 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} 65 c A Error 65 c A Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 0 14 1 10 0 14 1 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45545 54554 55445 54544 45545 54554 55445 54544 ANSWER DOWNLOAD EXAMIANS APP