565 views
0 votes
0 votes

 Please help me out guys

1 Answer

0 votes
0 votes

Size of pointer dependes on the machine you are using . Now a days we all are using 64-bit machine.
 

    #include<stdio.h> 
    int main() {
    	int *p;
    	printf("size %d ",sizeof(p));
    }

in this machine size of pointer is 8B.
If size of pointer / any information about machine is NOT given then take it as 2B .

Related questions

4 votes
4 votes
2 answers
1
sh!va asked Jul 16, 2016
1,280 views
In C/C++ an array of pointers is same as(A) Pointer to array(B) Pointer to pointer(C) Pointer to function (D) Pointer to structure