C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 0713 0289 Syntax error 1289 713 0713 0289 Syntax error 1289 713 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=5 x=0 Error x=4 x=1 x=5 x=0 Error x=4 x=1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 2, 1, 15 2, 3, 20 1, 2, 5 3, 2, 15 2, 1, 15 2, 3, 20 1, 2, 5 3, 2, 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0123456789 Infinite loop 0 10 Syntax error 0123456789 Infinite loop 0 10 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} asiha hai absiha haasi asiha hai absiha haasi 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 Segmentation fault/runtime crash 10 Compiler time error Undefined behavior Segmentation fault/runtime crash 10 Compiler time error ANSWER DOWNLOAD EXAMIANS APP