C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff4 fff0 fff1 fff2 fff3 fff4 fff0 fff1 fff2 fff3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 1 Error 12 11 1 Error 12 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 1 2 1 2 2 1 2 1 1 2 1 2 2 1 2 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 i=4 j=2 i=3 j=2 the behavior is undefined i=5 j=2 i=4 j=2 i=3 j=2 the behavior is undefined ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? No data type Depends upon the type of the variable to which it is pointing. unsigned int int float No data type Depends upon the type of the variable to which it is pointing. unsigned int int float ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 20 Compiler Error Linker Error 2 20 Compiler Error Linker Error ANSWER DOWNLOAD EXAMIANS APP