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