C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 45445 45545 54554 54544 45445 45545 54554 ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. 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 II and III 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();} Compilation Error 5 4 3 2 1 Infinite Loop 5 5 5 5 5 None of these Compilation Error 5 4 3 2 1 Infinite Loop 5 5 5 5 5 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? None of these int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(); None of these int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(); 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)); } Syntax error 4 Runtime error 4 5 6 7 1 2 3 4 Syntax error 4 Runtime error 4 5 6 7 1 2 3 4 ANSWER DOWNLOAD EXAMIANS APP