C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 8 5 5 2 5 5 2 4 5 2 4 4 8 5 5 2 5 5 2 4 5 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); } None of these Linking error Compiler Error 3 hello None of these Linking error Compiler Error 3 hello 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 0 Garbage vlaue Garbage Value Code will not compile Garbage value 0 0 Garbage Value 0 0 Garbage vlaue Garbage Value Code will not compile Garbage value 0 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} complier error 1 no error no output 0 complier error 1 no error no output 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 4 3 10 5 3 4 10 5 4 4 10 5 5 5 10 5 3 3 10 5 4 3 10 5 3 4 10 5 4 4 10 5 5 5 10 5 3 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming An array elements are always stored in ________ memory locations. Random None of these Sequential and Random Sequential Random None of these Sequential and Random Sequential ANSWER DOWNLOAD EXAMIANS APP