C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Nothing is printed XAM is printed Compiler Error exam is printed Nothing is printed XAM is printed Compiler Error exam is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff4 fff3 fff2 fff1 fff0 fff4 fff3 fff2 fff1 fff0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} Error 300 %d\n None of These Error 300 %d\n None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 3 Error 6 Garbage value 3 Error 6 Garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} 65486, 65488 65486, 65487 None of these 65486, 65490 65486, 65486 65486, 65488 65486, 65487 None of these 65486, 65490 65486, 65486 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} C No output at all. NOITANIMAXE NOITANIMAXE C Syntax error C No output at all. NOITANIMAXE NOITANIMAXE C Syntax error ANSWER DOWNLOAD EXAMIANS APP