+ 1
When we print the value of p then the output is 2358844 and when we print the value of k the output is 2358840 but when we print
When we print the value of p then the output is 2358844 and when we print the value of k the output is 2358840 but when we print (p-k) why the output is 1 https://code.sololearn.com/cYFlZO2e5iGi/?ref=app
1 Answer
+ 1
Yes it is basics of pointer (addition and substraction) that in 32 bit machine 1 pointer consume only 4 bits so it prints 1.
1 here shows that there is 1 pointer in between