0
What will be the output and why??
#include <stdio.h> void main() { int x = 4; int *p = &x; int *k = p++; int r = p - k; printf("%d", r); }
1 Answer
0
The answer will be 1 because of the difference between two pointers gives us the distance between the two(in simple words) in terms of value not bytes.