C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45545 54544 54554 45445 45545 54544 54554 45445 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print garbage value Compilation Error None of these. will print Hello World will print garbage value Compilation Error None of these. will print Hello World ANSWER DOWNLOAD EXAMIANS APP
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 Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} None of these. 9 10 11 None of these. 9 10 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator has the lowest priority? && ++ || % + && ++ || % + ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=5 j=2 the behavior is undefined i=3 j=2 i=4 j=2 i=5 j=2 the behavior is undefined i=3 j=2 i=4 j=2 ANSWER DOWNLOAD EXAMIANS APP