C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 0 1 2 3 1 1 2 3 None of these 1 1 2 2 0 1 2 2 0 1 2 3 1 1 2 3 None of these 1 1 2 2 0 1 2 2 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 Garbage Value Code will not compile 0 0 Garbage value 0 Garbage vlaue Garbage Value 0 Garbage Value Code will not compile 0 0 Garbage value 0 Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} None of These 10 Garbage Value 1 None of These 10 Garbage Value 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} None of These i = 1, +i = 1 i = -1, +i = -1 i = -1, +i = 1 None of These i = 1, +i = 1 i = -1, +i = -1 i = -1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} None of These 10 50 Compiler Error None of These 10 50 Compiler Error 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);} 10 Segmentation fault/runtime crash Undefined behavior Compiler time error 10 Segmentation fault/runtime crash Undefined behavior Compiler time error ANSWER DOWNLOAD EXAMIANS APP