C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff0 fff2 fff4 fff3 fff1 fff0 fff2 fff4 fff3 fff1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: float *ptr; float ptr; *float ptr; None of these float *ptr; float ptr; *float ptr; None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} Error 2 1 -2 Error 2 1 -2 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Merging two strings. Extracting a substring out of a string. Partitioning the string into two strings. Combining two strings. Comparing the two strings to define the larger one. Merging two strings. Extracting a substring out of a string. Partitioning the string into two strings. Combining two strings. Comparing the two strings to define the larger one. 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);} the behavior is undefined i=4 j=2 i=5 j=2 i=3 j=2 the behavior is undefined i=4 j=2 i=5 j=2 i=3 j=2 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);} Error 6 3 Garbage value Error 6 3 Garbage value ANSWER DOWNLOAD EXAMIANS APP