C Programming Which of the following function calculates the square of 'x' in C? pow(x, 2) sqr(x) power(2, x) power(x, 2) pow(2, x) pow(x, 2) sqr(x) power(2, x) power(x, 2) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; Both of the above We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. Both of the above We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} g##g2 10012 100 Runtime error Syntax error g##g2 10012 100 Runtime error Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 5 5 5 2 4 4 2 4 5 2 5 5 5 5 5 2 4 4 2 4 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int value=0; if(value) printf("well done "); printf("examveda");} complier error well done examians examians None of these complier error well done examians examians None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Division operator Assignment operator Unary-operator Conditional operator Comma operator Division operator Assignment operator Unary-operator Conditional operator Comma operator ANSWER DOWNLOAD EXAMIANS APP