C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Segmentation fault/runtime crash 10 Compiler time error Undefined behavior Segmentation fault/runtime crash 10 Compiler time error Undefined behavior ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=5 d=3 c=3 d=3 c=3 d=5 c=5 d=5 c=5 d=3 c=3 d=3 c=3 d=5 c=5 d=5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ float me = 1.1; double you = 1.1; if(me==you) printf("I hate Examveda"); else printf("I love Examveda");} I hate Examians Error I love Examians None of These I hate Examians Error I love Examians None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmm nnn aaa mmmm nnnn aaaa None of These Compiler Error mmm nnn aaa mmmm nnnn aaaa None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 6 Compiler Error 5 Garbage Value 6 Compiler Error 5 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
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 1 1 2 2 None of these 0 1 2 2 0 1 2 3 1 1 2 3 1 1 2 2 None of these 0 1 2 2 ANSWER DOWNLOAD EXAMIANS APP