C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 2 a[1] = 3 a[1] = 2 Compilation error a[0] = 3 a[0] = 2 a[1] = 3 a[1] = 2 Compilation error a[0] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } None of these 14 10 1 0 None of these 14 10 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } 3 hello Compiler Error None of these Linking error 3 hello Compiler Error None of these Linking error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); None of these 1 1 1 0 0 0 0 1 None of these 1 1 1 0 0 0 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45545 55445 54554 54544 45545 55445 54554 54544 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 2 4 5 5 5 5 2 5 5 2 4 4 2 4 5 5 5 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP