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 *)[] None of these. int *p(char *)[] int(*p(char *))[] int (*p) (char *)[] None of these. int *p(char *)[] 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 Garbage vlaue Garbage Value 0 Garbage Value 0 0 Garbage value 0 Code will not compile Garbage vlaue Garbage Value 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means The same as int *p[ None of these. p is a pointer to a 5 elements integer array. p is one dimensional array of size 5, of pointers to integers. The same as int *p[ None of these. p is a pointer to a 5 elements integer array. p is one dimensional array of size 5, of pointers to integers. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 5 5 5 2 4 5 2 4 4 2 5 5 5 5 5 2 4 5 2 4 4 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 3 7 None of these 8 3 3 8 7 3 3 7 None of these 8 3 3 8 7 3 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