- Check for the existence of p and the right leaves p;
- Check the existence of leaf nodes on the right p
- Check for the existence of node p
- There is no need to perform all three conditions outlined in the question
int a, * p, * q;
float * t;
a = 5; p = & a;
p = q;
t = p;
printf ('% d% f', a, t);