Here we have the equation px2+qx+2 = 0
Product of the roots = c/a = 2/p
Given that the roots are reciprocals of each other. So if one root is α, the other would be 1/α.
So, their product will always be 1.
=> 1 = 2/p
=> p = 2.
Hence, the value of p is 2. Ans.