C Programming Which of the following function calculates the square of 'x' in C? power(2, x) pow(x, 2) power(x, 2) pow(2, x) sqr(x) power(2, x) pow(x, 2) power(x, 2) pow(2, x) sqr(x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 2 4 5 8 5 5 2 5 5 2 4 4 2 4 5 8 5 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to infinite -10 to 0 -10 to -1 Complier error -10 to infinite -10 to 0 -10 to -1 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 20 10 20 21 10 10 20 21 21 10 10 11 11 10 20 21 20 10 20 21 10 10 20 21 21 10 10 11 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} Some address will be printed Error make an infinite loop None of These Some address will be printed Error make an infinite loop None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 3 6 Error Garbage value 3 6 Error Garbage value ANSWER DOWNLOAD EXAMIANS APP