C Programming Which of the following function calculates the square of 'x' in C? sqr(x) 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) ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 6 Syntax error 8 Runtime error No output 6 Syntax error 8 Runtime error No output ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} Complier error -10 to 0 -10 to -1 -10 to infinite Complier error -10 to 0 -10 to -1 -10 to infinite ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} Compiler Error 7 5 6 0 Compiler Error 7 5 6 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } Syntax error 0713 0289 713 1289 Syntax error 0713 0289 713 1289 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);} 3, 2, 15 2, 3, 20 1, 2, 5 2, 1, 15 3, 2, 15 2, 3, 20 1, 2, 5 2, 1, 15 ANSWER DOWNLOAD EXAMIANS APP