C Programming Which of the following function calculates the square of 'x' in C? pow(x, 2) power(x, 2) sqr(x) pow(2, x) power(2, x) pow(x, 2) power(x, 2) sqr(x) pow(2, x) power(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 1 -1 0 33 Compilation Error 1 -1 0 33 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Acts before compilation Takes care of macros Takes care of conditional compilation All of these Takes care of include files Acts before compilation Takes care of macros Takes care of conditional compilation All of these Takes care of include files ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strnstr() strrchr() strstr() None of these laststr() strnstr() strrchr() strstr() None of these laststr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 0 2, 2 4, 4 2, 4 0, 2 2, 0 2, 2 4, 4 2, 4 0, 2 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));} 11 None of these 15 12 10 11 None of these 15 12 10 ANSWER DOWNLOAD EXAMIANS APP