C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff1 fff4 fff0 fff3 fff2 fff1 fff4 fff0 fff3 fff2 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 Array passed as an argument to a function is interpreted as Values of the first elements of the array. Address of the first element of the array. Number of element of the array. Address of the array. Values of the first elements of the array. Address of the first element of the array. Number of element of the array. Address of the array. 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 4 5 2 5 5 8 5 5 2 4 4 2 4 5 2 5 5 8 5 5 2 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); } Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Runtime error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 10, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Runtime error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 10, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? 110 10 -110 450 -10 110 10 -110 450 -10 ANSWER DOWNLOAD EXAMIANS APP