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 *))[] None of these. int (*p) (char *)[] int *p(char *)[] int(*p(char *))[] None of these. int (*p) (char *)[] int *p(char *)[] ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } ck te ow et ck te ow et ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strstr() None of these strrchr() laststr() strnstr() strstr() None of these strrchr() laststr() strnstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} Hello H Some Address will be printed None of These Hello H Some Address will be printed None of These 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);} NOITANIMAXE C NOITANIMAXE No output at all. C Syntax error NOITANIMAXE C NOITANIMAXE No output at all. C Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 0 Garbage value 0 Code will not compile 0 Garbage Value Garbage vlaue Garbage Value 0 0 Garbage value 0 Code will not compile 0 Garbage Value Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP