C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 3 1 0 0 1 3 0 0 0 1 2 0 0 0 0 2 1 0 0 1 3 1 0 0 1 3 0 0 0 1 2 0 0 0 0 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 0 2, 2 0, 2 2, 4 4, 4 2, 0 2, 2 0, 2 2, 4 4, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } Runtime error Syntax error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Runtime error Syntax error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Ok here Error Forget it None of These Ok here Error Forget it None of These 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 Compiler time error Segmentation fault/runtime crash 10 Undefined behavior Compiler time error Segmentation fault/runtime crash 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 5 8 5 5 2 4 4 2 5 5 2 4 5 8 5 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP