C Programming int a[5] = {1,2,3}What is the value of a[4]? 1 Garbage Value 3 2 0 1 Garbage Value 3 2 0 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");} Error None of These Forget it Ok here Error None of These Forget it Ok here ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=5 j=2 the behavior is undefined i=4 j=2 i=3 j=2 i=5 j=2 the behavior is undefined i=4 j=2 i=3 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 24 12 7 6 It will not compile because not enough initializers are given 24 12 7 6 It will not compile because not enough initializers are given ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } ow ck et te ow ck et te ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45445 45545 54544 54554 45445 45545 54544 54554 ANSWER DOWNLOAD EXAMIANS APP