C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) sqr(x) power(2, x) pow(x, 2) pow(2, x) power(x, 2) sqr(x) power(2, x) pow(x, 2) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} 10 Compiler time error Segmentation fault/runtime crash Undefined behavior 10 Compiler time error Segmentation fault/runtime crash Undefined behavior ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... stdin Data file stderr no such function in 'C'. string stdin Data file stderr no such function in 'C'. string ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? * None of these % / + * None of these % / + 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));} 10012 g##g2 Runtime error Syntax error 100 10012 g##g2 Runtime error Syntax error 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} None of These three Error zero None of These three Error zero ANSWER DOWNLOAD EXAMIANS APP