XYZ Interview Question

difference between c and c++ , unique and primary key, 2-3 logical question , SQL.