C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 6 5 7 Compiler Error 0 6 5 7 Compiler Error 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? All of these It associates from the right It is a unary operator The operand can come before or after the operator It cannot be applied to an expression All of these It associates from the right It is a unary operator The operand can come before or after the operator It cannot be applied to an expression ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} M N P None of These M N P None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? power(2, x) power(x, 2) pow(x, 2) sqr(x) pow(2, x) power(2, x) power(x, 2) pow(x, 2) sqr(x) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 13 14 15 12 Garbage Value 13 14 15 12 Garbage Value 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"); 33 1 Compilation Error -1 0 33 1 Compilation Error -1 0 ANSWER DOWNLOAD EXAMIANS APP