Please explain why this code is not printing inorder traversal

@KetanPandey very small mistake in the base case, it should be root == NULL
image