C Programming Which of the following function calculates the square of 'x' in C? pow(2, x) power(2, x) sqr(x) power(x, 2) pow(x, 2) pow(2, x) power(2, x) sqr(x) power(x, 2) pow(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 7 11 6 5 6 12 7 6 6 6 7 11 6 5 6 12 7 6 6 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);} 1 1 2 3 0 1 2 2 None of these 0 1 2 3 1 1 2 2 1 1 2 3 0 1 2 2 None of these 0 1 2 3 1 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? start() getch() main() printf() system() start() getch() main() printf() system() ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It cannot be applied to an expression The operand can come before or after the operator It is a unary operator All of these It associates from the right It cannot be applied to an expression The operand can come before or after the operator It is a unary operator All of these It associates from the right ANSWER DOWNLOAD EXAMIANS APP