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);} None of these 20 24 30 25 None of these 20 24 30 25 ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right II and III II and IV III and IV I and II I and III II and III II and IV III and IV I and II I and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 2 1 2 1 1 2 1 2 2 1 2 1 1 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } 4 16 None of These 64 4 16 None of These 64 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It is a unary operator It associates from the right It cannot be applied to an expression The operand can come before or after the operator All of these It is a unary operator It associates from the right It cannot be applied to an expression The operand can come before or after the operator All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. I, II and III I and II II, III and IV II and III I, II, III and IV I, II and III I and II II, III and IV II and III I, II, III and IV ANSWER DOWNLOAD EXAMIANS APP