C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff1 fff2 fff0 fff3 fff4 fff1 fff2 fff0 fff3 fff4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 2, 3 1 2, 4 1, 4 None of these 2, 3 1 2, 4 1, 4 None of these 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 Array passed as an argument to a function is interpreted as Address of the first element of the array. Address of the array. Values of the first elements of the array. Number of element of the array. Address of the first element of the array. Address of the array. Values of the first elements of the array. Number of element of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} hi friends hj grjeodt ij!gsjfoet None of These hi friends hj grjeodt ij!gsjfoet None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Partitioning the string into two strings. Combining two strings. Merging two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Partitioning the string into two strings. Combining two strings. Merging two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. ANSWER DOWNLOAD EXAMIANS APP