C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 54554 45545 45445 54544 54554 45545 45445 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 0 0 Garbage Value Code will not compile Garbage value 0 Garbage vlaue Garbage Value 0 0 0 Garbage Value Code will not compile Garbage value 0 Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: float ptr; float *ptr; None of these *float ptr; float ptr; float *ptr; None of these *float ptr; ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} Error 9 5 6 None of these Error 9 5 6 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 12 11 13 Compilation error 14 12 11 13 Compilation error 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Undefined behavior 10 Segmentation fault/runtime crash Compiler time error Undefined behavior 10 Segmentation fault/runtime crash Compiler time error ANSWER DOWNLOAD EXAMIANS APP