C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff2 fff1 fff3 fff4 fff0 fff2 fff1 fff3 fff4 fff0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these int funct(); void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these int funct(); ANSWER DOWNLOAD EXAMIANS APP
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[0] = 3 Compilation error a[1] = 3 a[1] = 2 a[0] = 2 a[0] = 3 Compilation error a[1] = 3 a[1] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} H Some Address will be printed Hello None of These H Some Address will be printed Hello None of These 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 110 450 10 -10 -110 110 450 10 -10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} None of These hello 5 Error hello garbage value None of These hello 5 Error hello garbage value ANSWER DOWNLOAD EXAMIANS APP