Catalytic dehydrogenation of a primary alcohol gives a:
On catalytic dehydrogenation, primary alcohols give aldehydes, secondary alcohols give ketones and tertiary alcohols give alkene. Primary and secondary alcohols show a type of beta-elimination in which −OH group from alfa and hydrogen from beta carbon.
Hence, option B is correct.