C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 1 1 1 2 2 1 2 2 1 1 1 2 2 1 2 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? float Depends upon the type of the variable to which it is pointing. unsigned int int No data type float Depends upon the type of the variable to which it is pointing. unsigned int int No data type ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 11 10 9 None of These 11 10 9 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } Linker Error : Undefined symbol 'i' Depends on the Compiler 4 2 Linker Error : Undefined symbol 'i' Depends on the Compiler 4 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 10 Run time error 20 20 10 20 10 10 Run time error 20 20 10 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is an array of 10 integers ptr is array of pointers to 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is an array of 10 integers ptr is array of pointers to 10 integers ANSWER DOWNLOAD EXAMIANS APP