I have a simple code here
I get 4 bytes for size of int & 8 bytes for size of pointer.Code:int i, *p; printf("sizeof i =%d, size of pointer =%d", sizeof(int), sizeof(p));
Usually we get 4 bytes for any pointer size.
Please comment
I have a simple code here
I get 4 bytes for size of int & 8 bytes for size of pointer.Code:int i, *p; printf("sizeof i =%d, size of pointer =%d", sizeof(int), sizeof(p));
Usually we get 4 bytes for any pointer size.
Please comment