C Programming Which of the following comments about the ++ operator are correct? It associates from the right It is a unary operator The operand can come before or after the operator All of these It cannot be applied to an expression It associates from the right It is a unary operator The operand can come before or after the operator All of these It cannot be applied to an expression ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(x, 2) pow(2, x) power(x, 2) sqr(x) power(2, x) pow(x, 2) pow(2, x) power(x, 2) sqr(x) power(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} M Good Morning Morning None of these Good M Good Morning Morning None of these Good ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 24 None of these 25 20 30 24 None of these 25 20 30 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);} Compiler time error Undefined behavior Segmentation fault/runtime crash 10 Compiler time error Undefined behavior Segmentation fault/runtime crash 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 6 5 9 11 10 6 5 9 11 10 ANSWER DOWNLOAD EXAMIANS APP