C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of These Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? * + None of these % / * + None of these % / ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 5 6 7 1 2 3 4 4 Syntax error Runtime error 4 5 6 7 1 2 3 4 4 Syntax error Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..2 2..2 4..4 2..4 4..2 2..2 4..4 2..4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = 3.14 % 2.1; rem = modf(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); rem = 3.14 % 2.1; rem = modf(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} WorldHello World Hello World None of these Hello WorldHello World Hello World None of these Hello ANSWER DOWNLOAD EXAMIANS APP