C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} None of these 10 11 12 15 None of these 10 11 12 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as System programming language Data processing language General purpose language None of these System programming language Data processing language General purpose language None of these 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 I and III I and II III and IV II and IV II and III I and III I and II III and IV II and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = -1, +i = -1 None of These i = -1, +i = 1 i = 1, +i = 1 i = -1, +i = -1 None of These i = -1, +i = 1 i = 1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 6 a = 4, c = 8 b = 3, c = 6 b = 4, c = 6 a = 3, c = 8 a = 4, c = 6 a = 4, c = 8 b = 3, c = 6 b = 4, c = 6 a = 3, c = 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} hi friends None of These ij!gsjfoet hj grjeodt hi friends None of These ij!gsjfoet hj grjeodt ANSWER DOWNLOAD EXAMIANS APP