C Programming Which of the following function calculates the square of 'x' in C? pow(x, 2) power(x, 2) pow(2, x) power(2, x) sqr(x) pow(x, 2) power(x, 2) pow(2, x) power(2, x) sqr(x) 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, 65488 65486, 65487 65486, 65490 None of these 65486, 65486 65486, 65488 65486, 65487 65486, 65490 None of these 65486, 65486 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 1 1 1 1 2 2 2 2 1 1 1 1 2 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } 4 2 Depends on the Compiler Linker Error : Undefined symbol 'i' 4 2 Depends on the Compiler Linker Error : Undefined symbol 'i' ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 15 12 10 None of these 11 15 12 10 None of these 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr and p, both are pointers to integer. ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ANSWER DOWNLOAD EXAMIANS APP