C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int *p(char *)[] int (*p) (char *)[] int(*p(char *))[] None of these. int *p(char *)[] int (*p) (char *)[] int(*p(char *))[] None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strnstr() strstr() None of these laststr() strrchr() strnstr() strstr() None of these laststr() strrchr() 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);} Syntax error NOITANIMAXE C No output at all. C NOITANIMAXE Syntax error NOITANIMAXE C No output at all. C NOITANIMAXE ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff4 fff2 fff1 fff0 fff3 fff4 fff2 fff1 fff0 fff3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 5 4 3 2 1 None of These 0 0 0 0 Infinite Loop 5 4 3 2 1 None of These 0 0 0 0 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} None of these 20 30 25 24 None of these 20 30 25 24 ANSWER DOWNLOAD EXAMIANS APP