I have allocated dynamic memory for one integer variable
11406808Code:#include<stdio.h>#include<stdlib.h> int main (void) { int *i = (int*)malloc(1 * sizeof(int)); printf(" : %d \n", i); printf("%d \n", i, *(i)); printf(" %d \n", i, &i); return 0; }
11406808
11406808
if you look at the operator all they are the different * and &
Why does all three operator give a same data ?
updated : size 1