C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 24 6 7 It will not compile because not enough initializers are given 12 24 6 7 It will not compile because not enough initializers are given 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} Complier error -10 to -1 -10 to infinite -10 to 0 Complier error -10 to -1 -10 to infinite -10 to 0 ANSWER DOWNLOAD EXAMIANS APP
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:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 2 2 1 2 2 1 1 1 2 2 1 2 2 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 0 33 Compilation Error 1 -1 0 33 Compilation Error 1 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? int float unsigned int Depends upon the type of the variable to which it is pointing. No data type int float unsigned int Depends upon the type of the variable to which it is pointing. No data type ANSWER DOWNLOAD EXAMIANS APP