C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 15 12 11 10 15 12 11 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. Makes the debugging task easier. All of these Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. Makes the debugging task easier. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} complier error Enter a number:99 Run time error Enter a number:99 Number is divisible by 5 complier error Enter a number:99 Run time error Enter a number:99 Number is divisible by 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } 2 Linker Error : Undefined symbol 'i' Depends on the Compiler 4 2 Linker Error : Undefined symbol 'i' Depends on the Compiler 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 Compilation Error None of these Infinite Loop 5 4 3 2 1 5 5 5 5 5 Compilation Error None of these Infinite Loop 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} 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 i = 1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP